cbqn: 0.pre+date=2021-12-1 -> 0.pre+date=2022-05-06

main
Narazaki, Shuji 2 years ago
parent bb56c83212
commit 63106c6b2a
  1. 14
      pkgs/development/interpreters/bqn/cbqn/default.nix

@ -11,21 +11,21 @@ let
name = "cbqn-bytecode-files"; name = "cbqn-bytecode-files";
owner = "dzaima"; owner = "dzaima";
repo = "CBQN"; repo = "CBQN";
rev = "b000b951aa8f3590b196b4c09056604c0b32a168"; rev = "c39653c898531a2cdbf4cc5c764df6e37b1894a4";
hash = "sha256-znW0xOXogP4TfifUmk3cs4aN/9mMSpSD2WJppmeI1Fg="; hash = "sha256-JCEmkwh5Rv5+NQoxvefSrYnayU892/Wam+gjMgcQmO0=";
}; };
in in
assert genBytecode -> ((bqn-path != null) && (mbqn-source != null)); assert genBytecode -> ((bqn-path != null) && (mbqn-source != null));
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cbqn" + lib.optionalString (!genBytecode) "-standalone"; pname = "cbqn" + lib.optionalString (!genBytecode) "-standalone";
version = "0.pre+date=2021-12-13"; version = "0.pre+date=2022-05-06";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dzaima"; owner = "dzaima";
repo = "CBQN"; repo = "CBQN";
rev = "e7662b0f6a44add0749fba2a6d7309a5c1eb2601"; rev = "3496a939b670f8c9ca2a04927378d6b7e9abd68e";
hash = "sha256-2nfkTZBIGHX5cok6Ea3KSewakZy8Ey8nSO2Fe4xGgvg="; hash = "sha256-P+PoY4XF9oEw7VIpmybvPp+jxWHEo2zt1Lamayf1mHg=";
}; };
dontConfigure = true; dontConfigure = true;
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
'' + (if genBytecode then '' '' + (if genBytecode then ''
${bqn-path} genRuntime ${mbqn-source} ${bqn-path} genRuntime ${mbqn-source}
'' else '' '' else ''
cp ${cbqn-bytecode-files}/src/gen/{compiler,formatter,runtime0,runtime1,src} src/gen/ cp ${cbqn-bytecode-files}/src/gen/{compiles,formatter,runtime0,runtime1,src} src/gen/
''); '');
installPhase = '' installPhase = ''
@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/dzaima/CBQN/"; homepage = "https://github.com/dzaima/CBQN/";
description = "BQN implementation in C"; description = "BQN implementation in C";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres sternenseemann synthetica ]; maintainers = with maintainers; [ AndersonTorres sternenseemann synthetica shnarazk ];
platforms = platforms.all; platforms = platforms.all;
}; };
} }

Loading…
Cancel
Save