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.7";
11 sourceName = "librep_${version}";
12
13 src = fetchurl {
14 url = "http://download.tuxfamily.org/librep/${sourceName}.tar.xz";
15 sha256 = "1bmcjl1x1rdh514q9z3hzyjmjmwwwkziipjpjsl301bwmiwrd8a8";
16 };
17
18 nativeBuildInputs = [ autoreconfHook pkgconfig ];
19 buildInputs = [ readline texinfo ];
20 propagatedBuildInputs = [ gdbm gmp libffi ];
21
22 configureFlags = [
23 "--disable-static"
24 ];
25
26 setupHook = ./setup-hook.sh;
27
28 meta = {
29 description = "Fast, lightweight, and versatile Lisp environment";
30 longDescription = ''
31 librep is a Lisp system for UNIX, comprising an
32 interpreter, a byte-code compiler, and a virtual
33 machine. It can serve as an application extension language
34 but is also suitable for standalone scripts.
35 '';
36 homepage = http://sawfish.wikia.com;
37 license = licenses.gpl2;
38 maintainers = [ maintainers.AndersonTorres ];
39 };
40}
41# TODO: investigate fetchFromGithub