es: git-2015-04-11 -> 0.9.1

This commit is contained in:
Thomas Tuegel 2017-01-31 07:54:02 -06:00
parent 904bcb391d
commit ace284ee95
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

View File

@ -1,33 +1,27 @@
{ stdenv, fetchgit, readline, yacc, autoconf, automake, libtool }: { stdenv, fetchurl, readline, yacc }:
let let
version = "git-2015-04-11"; version = "0.9.1";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "es-${version}"; name = "es-${version}";
src = fetchgit { src = fetchurl {
url = "git://github.com/wryun/es-shell"; url = "https://github.com/wryun/es-shell/releases/download/v${version}/es-${version}.tar.gz";
rev = "fdf29d5296ce3a0ef96d2b5952cff07878753975"; sha256 = "1fplzxc6lncz2lv2fyr2ig23rgg5j96rm2bbl1rs28mik771zd5h";
sha256 = "12faa9b5ffwydgwyjp57zr19sqap2ma3crj6wd2rx1hv30dkll7p";
}; };
buildInputs = [ readline yacc libtool autoconf automake ]; # The distribution tarball does not have a single top-level directory.
preUnpack = ''
preConfigure = mkdir $name
'' cd $name
aclocal sourceRoot=.
autoconf
libtoolize -qi
''; '';
configureFlags="--with-readline --prefix=$(out) --bindir=$(out)/bin --mandir=$(out)/man"; buildInputs = [ readline yacc ];
preInstall = '' configureFlags = [ "--with-readline" ];
mkdir -p $out/bin
mkdir -p $out/man/man1
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Es is an extensible shell"; description = "Es is an extensible shell";