Unverified Commit 64c3d763 authored by Robert Hensing's avatar Robert Hensing Committed by GitHub
Browse files

dash: 0.5.12 -> 0.5.13.1 (#446025)

parents b5b99c73 655e13b1
Loading
Loading
Loading
Loading
+19 −2
Original line number Diff line number Diff line
@@ -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;
      };
    };
  };