nixpkgs/pkgs/shells/dash/default.nix
2020-04-10 17:54:53 +01:00

23 lines
604 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "dash-0.5.10.2";
src = fetchurl {
url = "http://gondor.apana.org.au/~herbert/dash/files/${name}.tar.gz";
sha256 = "0wb0bwmqc661hylqcfdp7l7x12myw3vpqk513ncyqrjwvhckjriw";
};
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
homepage = "http://gondor.apana.org.au/~herbert/dash/";
description = "A POSIX-compliant implementation of /bin/sh that aims to be as small as possible";
platforms = platforms.unix;
license = with licenses; [ bsd3 gpl2 ];
};
passthru = {
shellPath = "/bin/dash";
};
}