1 { lib, stdenv, fetchurl, readline, bison }:
3 stdenv.mkDerivation rec {
9 url = "https://github.com/wryun/es-shell/releases/download/v${version}/es-${version}.tar.gz";
10 sha256 = "sha256-ySZIK0IITpA+uHHuHrDO/Ana5vGt64QI3Z6TMDXE9d0=";
13 # The distribution tarball does not have a single top-level directory.
21 nativeBuildInputs = [ bison ];
22 buildInputs = [ readline ];
24 configureFlags = [ "--with-readline" ];
27 description = "An extensible shell with higher order functions";
30 Es is an extensible shell. The language was derived
31 from the Plan 9 shell, rc, and was influenced by
32 functional programming languages, such as Scheme,
33 and the Tcl embeddable programming language.
35 homepage = "http://wryun.github.io/es-shell/";
36 license = licenses.publicDomain;
37 maintainers = with maintainers; [ sjmackenzie ttuegel ];
38 platforms = platforms.all;
42 shellPath = "/bin/es";