diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2017-01-31 07:54:02 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2017-01-31 07:54:02 -0600 |
commit | ace284ee9510a8058680425079ea7a3663f14281 (patch) | |
tree | 6362149de29bd05269403359514e16d806516fc2 /pkgs/shells/es | |
parent | 904bcb391dc41717fedeefc07c63b5f8c4e6b88a (diff) |
es: git-2015-04-11 -> 0.9.1
Diffstat (limited to 'pkgs/shells/es')
-rw-r--r-- | pkgs/shells/es/default.nix | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/pkgs/shells/es/default.nix b/pkgs/shells/es/default.nix index 037d1e1ec9950..62883a1c54554 100644 --- a/pkgs/shells/es/default.nix +++ b/pkgs/shells/es/default.nix @@ -1,33 +1,27 @@ -{ stdenv, fetchgit, readline, yacc, autoconf, automake, libtool }: +{ stdenv, fetchurl, readline, yacc }: let - version = "git-2015-04-11"; + version = "0.9.1"; in stdenv.mkDerivation { name = "es-${version}"; - src = fetchgit { - url = "git://github.com/wryun/es-shell"; - rev = "fdf29d5296ce3a0ef96d2b5952cff07878753975"; - sha256 = "12faa9b5ffwydgwyjp57zr19sqap2ma3crj6wd2rx1hv30dkll7p"; + src = fetchurl { + url = "https://github.com/wryun/es-shell/releases/download/v${version}/es-${version}.tar.gz"; + sha256 = "1fplzxc6lncz2lv2fyr2ig23rgg5j96rm2bbl1rs28mik771zd5h"; }; - buildInputs = [ readline yacc libtool autoconf automake ]; - - preConfigure = - '' - aclocal - autoconf - libtoolize -qi - ''; + # The distribution tarball does not have a single top-level directory. + preUnpack = '' + mkdir $name + cd $name + sourceRoot=. + ''; - configureFlags="--with-readline --prefix=$(out) --bindir=$(out)/bin --mandir=$(out)/man"; + buildInputs = [ readline yacc ]; - preInstall = '' - mkdir -p $out/bin - mkdir -p $out/man/man1 - ''; + configureFlags = [ "--with-readline" ]; meta = with stdenv.lib; { description = "Es is an extensible shell"; |