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

wip/yesman
Thomas Tuegel 7 years ago
parent 904bcb391d
commit ace284ee95
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59
  1. 32
      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";

Loading…
Cancel
Save