Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, stdenv
3, fetchurl
4, autoreconfHook
5, gdbm
6, gmp
7, libffi
8, pkg-config
9, readline
10, texinfo
11}:
12
13stdenv.mkDerivation rec {
14 pname = "librep";
15 version = "0.92.7";
16
17 src = fetchurl {
18 url = "https://download.tuxfamily.org/${pname}/${pname}_${version}.tar.xz";
19 sha256 = "1bmcjl1x1rdh514q9z3hzyjmjmwwwkziipjpjsl301bwmiwrd8a8";
20 };
21
22 nativeBuildInputs = [
23 autoreconfHook
24 pkg-config
25 texinfo
26 ];
27 buildInputs = [
28 gdbm
29 gmp
30 libffi
31 readline
32 ];
33
34 setupHook = ./setup-hook.sh;
35
36 meta = with lib;{
37 homepage = "http://sawfish.tuxfamily.org/";
38 description = "Fast, lightweight, and versatile Lisp environment";
39 longDescription = ''
40 librep is a Lisp system for UNIX, comprising an interpreter, a byte-code
41 compiler, and a virtual machine. It can serve as an application extension
42 language but is also suitable for standalone scripts.
43 '';
44 license = licenses.gpl2Plus;
45 maintainers = [ maintainers.AndersonTorres ];
46 platforms = platforms.unix;
47 };
48}
49# TODO: investigate fetchFromGithub