From d1ae9737613939e9f534215fa9d5a4baee3d0cbb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 1 Jun 2010 17:05:29 +0000 Subject: [PATCH] * Added dash. svn path=/nixpkgs/trunk/; revision=22088 --- pkgs/shells/dash/default.nix | 15 +++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 pkgs/shells/dash/default.nix diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix new file mode 100644 index 000000000000..3918be2afc1d --- /dev/null +++ b/pkgs/shells/dash/default.nix @@ -0,0 +1,15 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "dash-0.5.6"; + + src = fetchurl { + url = "http://gondor.apana.org.au/~herbert/dash/files/${name}.tar.gz"; + sha256 = "0qnqx14y70ay1mn0w0hrknpll9266pvj0426k8niww9s7fzv89w5"; + }; + + meta = { + homepage = http://gondor.apana.org.au/~herbert/dash/; + description = "A POSIX-compliant implementation of /bin/sh that aims to be as small as possible"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd6d8162551e..e0cc06f620ed 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1959,6 +1959,10 @@ let interactive = true; }); + dash = import ../shells/dash { + inherit fetchurl stdenv; + }; + tcsh = import ../shells/tcsh { inherit fetchurl stdenv ncurses; };