git.iko.soy/typeable/nixpkgs
on master help sign in
es: git-2015-04-11 -> 0.9.1
commitace284ee9510a8058680425079ea7a3663f14281 authorThomas Tuegel <ttuegel@gmail.com> dateTue 31 Jan 2017, 07:54 (10 years ago) parent904bcb3
1 file changed+13−19
pkgs/shells/es/default.nix+13−19
pkgs/shells/es/default.nix+13−19
@@ -1,33 +1,27 @@
1−{ stdenv, fetchgit, readline, yacc, autoconf, automake, libtool }:
1+{ stdenv, fetchurl, readline, yacc }:
22
33let
4− version = "git-2015-04-11";
4+ version = "0.9.1";
55in
66stdenv.mkDerivation {
77
88 name = "es-${version}";
99
10− src = fetchgit {
11− url = "git://github.com/wryun/es-shell";
12− rev = "fdf29d5296ce3a0ef96d2b5952cff07878753975";
13− sha256 = "12faa9b5ffwydgwyjp57zr19sqap2ma3crj6wd2rx1hv30dkll7p";
10+ src = fetchurl {
11+ url = "https://github.com/wryun/es-shell/releases/download/v${version}/es-${version}.tar.gz";
12+ sha256 = "1fplzxc6lncz2lv2fyr2ig23rgg5j96rm2bbl1rs28mik771zd5h";
1413 };
1514
16− buildInputs = [ readline yacc libtool autoconf automake ];
17−
18− preConfigure =
19− ''
20− aclocal
21− autoconf
22− libtoolize -qi
23− '';
15+ # The distribution tarball does not have a single top-level directory.
16+ preUnpack = ''
17+ mkdir $name
18+ cd $name
19+ sourceRoot=.
20+ '';
2421
25− configureFlags="--with-readline --prefix=$(out) --bindir=$(out)/bin --mandir=$(out)/man";
22+ buildInputs = [ readline yacc ];
2623
27− preInstall = ''
28− mkdir -p $out/bin
29− mkdir -p $out/man/man1
30− '';
24+ configureFlags = [ "--with-readline" ];
3125
3226 meta = with stdenv.lib; {
3327 description = "Es is an extensible shell";