nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl
2, pkgconfig, autoreconfHook
3, readline, texinfo
4, gdbm, gmp, libffi }:
5
6with stdenv.lib;
7
8stdenv.mkDerivation rec {
9 pname = "librep";
10 version = "0.92.7";
11 sourceName = "librep_${version}";
12
13 src = fetchurl {
14 url = "https://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 setupHook = ./setup-hook.sh;
23
24 meta = {
25 description = "Fast, lightweight, and versatile Lisp environment";
26 longDescription = ''
27 librep is a Lisp system for UNIX, comprising an
28 interpreter, a byte-code compiler, and a virtual
29 machine. It can serve as an application extension language
30 but is also suitable for standalone scripts.
31 '';
32 homepage = "http://sawfish.wikia.com";
33 license = licenses.gpl2;
34 maintainers = [ maintainers.AndersonTorres ];
35 };
36}
37# TODO: investigate fetchFromGithub