diff options
Diffstat (limited to 'nixpkgs/pkgs/shells/dash')
-rw-r--r-- | nixpkgs/pkgs/shells/dash/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/shells/dash/default.nix b/nixpkgs/pkgs/shells/dash/default.nix new file mode 100644 index 00000000000..f8d592748b3 --- /dev/null +++ b/nixpkgs/pkgs/shells/dash/default.nix @@ -0,0 +1,23 @@ +{ 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"; + }; +} |