1{ stdenv, fetchurl
2, pkgconfig, autoreconfHook
3, readline, texinfo
4, gdbm, gmp, libffi }:
5
6with stdenv.lib;
7
8stdenv.mkDerivation rec {
9 name = "librep-${version}";
10 version = "0.92.5";
11
12 src = fetchurl {
13 url = "https://github.com/SawfishWM/librep/archive/${name}.tar.gz";
14 sha256 = "1ly425cgs0yi3lb5l84v3bacljw7m2nmzgky3acy1anp709iwi76";
15 };
16
17 buildInputs = [ pkgconfig autoreconfHook readline texinfo ];
18 propagatedBuildInputs = [ gdbm gmp libffi ];
19
20 configureFlags = [
21 "--disable-static"
22 ];
23
24 setupHook = ./setup-hook.sh;
25
26 meta = {
27 description = "Fast, lightweight, and versatile Lisp environment";
28 longDescription = ''
29 librep is a Lisp system for UNIX, comprising an
30 interpreter, a byte-code compiler, and a virtual
31 machine. It can serve as an application extension language
32 but is also suitable for standalone scripts.
33 '';
34 homepage = http://sawfish.wikia.com;
35 license = licenses.gpl2;
36 maintainers = [ maintainers.AndersonTorres ];
37 };
38}