rtfm: 0.6.1 -> 0.6.2
This commit is contained in:
parent
d84b0024f6
commit
6ba00438aa
@ -20,13 +20,13 @@
|
|||||||
writeShellScript,
|
writeShellScript,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "0.6.1";
|
version = "0.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hugopl";
|
owner = "hugopl";
|
||||||
repo = "rtfm";
|
repo = "rtfm";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-qWQ2V7o7swbnXGgPOcnZ5Mg/SpjHOYpaD1HL6kgutCs=";
|
hash = "sha256-0yKldVTZdFV1Tj1MUI7TCqF3Ho/D7NOGR9UuLaLUFdo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk-doc =
|
gtk-doc =
|
||||||
@ -60,16 +60,13 @@ crystal.buildCrystalPackage {
|
|||||||
--replace-fail 'doc_source = Path.new(ARGV[0]? || "/usr/share/doc/crystal/api")' 'doc_source = Path.new(ARGV[0]? || "${crystal}/share/doc/crystal/api")'
|
--replace-fail 'doc_source = Path.new(ARGV[0]? || "/usr/share/doc/crystal/api")' 'doc_source = Path.new(ARGV[0]? || "${crystal}/share/doc/crystal/api")'
|
||||||
substituteInPlace src/doc2dash/docset_builder.cr \
|
substituteInPlace src/doc2dash/docset_builder.cr \
|
||||||
--replace-fail 'File.copy(original, real_dest)' 'File.copy(original, real_dest); File.chmod(real_dest, 0o600)'
|
--replace-fail 'File.copy(original, real_dest)' 'File.copy(original, real_dest); File.chmod(real_dest, 0o600)'
|
||||||
substituteInPlace Makefile \
|
|
||||||
--replace-fail 'shards install' 'true'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
cd lib/gi-crystal
|
cd lib/gi-crystal
|
||||||
shards build -Dpreview_mt --release --no-debug
|
shards build -Dpreview_mt --release --no-debug
|
||||||
cd ../..
|
cd ../..
|
||||||
mkdir bin/
|
install -Dm755 lib/gi-crystal/bin/gi-crystal bin/gi-crystal
|
||||||
cp lib/gi-crystal/bin/gi-crystal bin/
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildTargets = [ "all" ];
|
buildTargets = [ "all" ];
|
||||||
@ -91,6 +88,8 @@ crystal.buildCrystalPackage {
|
|||||||
glib-compile-schemas $out/share/glib-2.0/schemas
|
glib-compile-schemas $out/share/glib-2.0/schemas
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = false;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = _experimental-update-script-combinators.sequence [
|
updateScript = _experimental-update-script-combinators.sequence [
|
||||||
(gitUpdater { rev-prefix = "v"; })
|
(gitUpdater { rev-prefix = "v"; })
|
||||||
|
|||||||
@ -11,8 +11,8 @@
|
|||||||
};
|
};
|
||||||
gi-crystal = {
|
gi-crystal = {
|
||||||
url = "https://github.com/hugopl/gi-crystal.git";
|
url = "https://github.com/hugopl/gi-crystal.git";
|
||||||
rev = "v0.24.0";
|
rev = "69388976418f5cc5ebc0cb7fb6aae5efd345ce8d";
|
||||||
sha256 = "0x356xn35008l573qhyl1sdddc9cc5i3bsa4c7865kgq9521ifyh";
|
sha256 = "15ayic628ma1h7b56bx11y8yl361qrpxlqngy0jkv793v7vpwd9b";
|
||||||
};
|
};
|
||||||
gtk4 = {
|
gtk4 = {
|
||||||
url = "https://github.com/hugopl/gtk4.cr.git";
|
url = "https://github.com/hugopl/gtk4.cr.git";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user