1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "dash-0.5.10.2";
5
6 src = fetchurl {
7 url = "http://gondor.apana.org.au/~herbert/dash/files/${name}.tar.gz";
8 sha256 = "0wb0bwmqc661hylqcfdp7l7x12myw3vpqk513ncyqrjwvhckjriw";
9 };
10
11 hardeningDisable = [ "format" ];
12
13 meta = with stdenv.lib; {
14 homepage = http://gondor.apana.org.au/~herbert/dash/;
15 description = "A POSIX-compliant implementation of /bin/sh that aims to be as small as possible";
16 platforms = platforms.unix;
17 license = with licenses; [ bsd3 gpl2 ];
18 };
19
20 passthru = {
21 shellPath = "/bin/dash";
22 };
23}