diff options
author | Stewart Mackenzie <setori88@gmail.com> | 2015-04-11 02:28:03 +0800 |
---|---|---|
committer | Stewart Mackenzie <setori88@gmail.com> | 2015-04-11 12:22:43 +0800 |
commit | 768b804e2ff1009f886691beb6a5b3d1b89a8ba8 (patch) | |
tree | c47ea537cf9c2ca19357de606f6830aab1e82b11 /pkgs/shells/es/default.nix | |
parent | 0dcd94bf817b72e24f75ce5252945a49b949aba7 (diff) |
new package: es
Diffstat (limited to 'pkgs/shells/es/default.nix')
-rw-r--r-- | pkgs/shells/es/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/shells/es/default.nix b/pkgs/shells/es/default.nix new file mode 100644 index 000000000000..236c5d1f00fa --- /dev/null +++ b/pkgs/shells/es/default.nix @@ -0,0 +1,45 @@ +{ stdenv, fetchgit, readline, yacc, autoconf, automake, libtool }: + +let + version = "git-2015-04-11"; +in +stdenv.mkDerivation { + + name = "es-${version}"; + + src = fetchgit { + url = "git://github.com/wryun/es-shell"; + rev = "fdf29d5296ce3a0ef96d2b5952cff07878753975"; + sha256 = "1hj0g8r59ry9l50h4gdal38nf8lvb3cgl6c9bx5aabkw5i778dfk"; + }; + + buildInputs = [ readline yacc libtool autoconf automake ]; + + preConfigure = + '' + aclocal + autoconf + libtoolize -qi + ''; + + configureFlags="--with-readline --prefix=$(out) --bindir=$(out)/bin --mandir=$(out)/man"; + + preInstall = '' + mkdir -p $out/{bin,man} + ''; + + meta = with stdenv.lib; { + description = "Es is an extensible shell"; + longDescription = + '' + Es is an extensible shell. The language was derived + from the Plan 9 shell, rc, and was influenced by + functional programming languages, such as Scheme, + and the Tcl embeddable programming language. + ''; + homepage = http://wryun.github.io/es-shell/; + license = licenses.publicDomain; + maintainers = [ maintainers.sjmackenzie ]; + platforms = platforms.all; + }; +} |