dash: 0.5.12 -> 0.5.13.1 (#446025)

This commit is contained in:
Robert Hensing
2025-10-18 22:20:38 +00:00
committed by GitHub
+19 -2
View File
@@ -7,15 +7,19 @@
libedit,
runCommand,
dash,
# Reverse dependency smoke tests
tests,
patchRcPathPosix,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dash";
version = "0.5.12";
version = "0.5.13.1";
src = fetchurl {
url = "http://gondor.apana.org.au/~herbert/dash/files/dash-${finalAttrs.version}.tar.gz";
hash = "sha256-akdKxG6LCzKRbExg32lMggWNMpfYs4W3RQgDDKSo8oo=";
hash = "sha256-2ScbzgnBJ9mGbiXAEVgt3HWrmIlYoEvE2FU6O48w43A=";
};
strictDeps = true;
@@ -43,6 +47,19 @@ stdenv.mkDerivation (finalAttrs: {
[ -s $out/success ]
grep -q "Hello World" $out/success
'';
/**
Reverse dependency smoke tests. Build success of `dash.tests` informs
whether an update makes it into staging.
*/
reverseDependencies = lib.recurseIntoAttrs {
writers = lib.recurseIntoAttrs {
simple = tests.writers.simple.dash;
bin = tests.writers.bin.dash;
};
# Not sure if effective smoke test, but cheap
patch-rc-path-posix = patchRcPathPosix.tests.test-posix;
};
};
};