bonsai: 1.0.0 -> 1.0.2; hare-json/hare-ev deps also updated

nixpkgs has a new version of hare which supports these
This commit is contained in:
2023-11-26 01:21:02 +00:00
parent 9b70d8884d
commit 9491190ce4
3 changed files with 14 additions and 15 deletions

View File

@@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "bonsai";
version = "1.0.0";
version = "1.0.2";
src = fetchFromSourcehut {
owner = "~stacyharper";
repo = pname;
rev = "v${version}";
hash = "sha256-jOtFUpl2/Aa7f8JMZf6g63ayFOi+Ci+i7Ac63k63znc=";
hash = "sha256-Yosf07KUOQv4O5111tLGgI270g0KVGwzdTPtPOsTcP8=";
};
postPatch = ''
@@ -25,11 +25,11 @@ stdenv.mkDerivation rec {
env.HARE_TARGET_FLAGS =
if stdenv.hostPlatform.isAarch64 then
"-t aarch64"
"-a aarch64"
else if stdenv.hostPlatform.isRiscV64 then
"-t riscv64"
"-a riscv64"
else if stdenv.hostPlatform.isx86_64 then
"-t x86_64"
"-a x86_64"
else
"";
@@ -48,10 +48,9 @@ stdenv.mkDerivation rec {
installFlags = [ "PREFIX=$(out)" ];
# NOTE: bonsaid 1.0.2 requires newer hare than exists in nixpkgs as of 2023/11.
# passthru.updateScript = gitUpdater {
# rev-prefix = "v";
# };
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = with lib; {
description = "Bonsai is a Finite State Machine structured as a tree";

View File

@@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "hare-ev";
version = "unstable-2022-12-29";
version = "unstable-2023-10-30";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = pname;
rev = "c585f01f4d13a25edb62477c07fdf32451417fee";
hash = "sha256-lB+ZPKGeYASV9oCE5iyDUCCPu2V07hqMXEktIY4fn1E=";
rev = "9bdbd02401334b7d762131a46e64ca2cd24846dc";
hash = "sha256-VY8nsy5kLDMScA2ig3Rgbkf6VQlCTnGWjzGvsI9OcaQ=";
};
nativeBuildInputs = [

View File

@@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "hare-json";
version = "unstable-2023-01-31";
version = "unstable-2023-09-21";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = pname;
rev = "99ae40eacc19253495949301000372adf8c3f504";
hash = "sha256-H5XKExs7e60PHmIS7TgBwG9e46Hj2M4D245vKag0ANA=";
rev = "e24e5dceb8628ff569338e6c4fdba35a5017c5e2";
hash = "sha256-7QRieokqXarKwLfZynS8Rum9JV9hcxod00BWAUwwliM=";
};
nativeBuildInputs = [