summary refs log tree commit diff
path: root/pkgs/development/libraries/librep/default.nix
blob: 314508cc5c20fcedc0e8eb2c007ace3e1f94d15d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ stdenv, fetchurl
, pkgconfig, autoreconfHook
, readline, texinfo
, gdbm, gmp, libffi }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "librep-${version}";
  version = "0.92.5";

  src = fetchurl {
    url = "https://github.com/SawfishWM/librep/archive/${name}.tar.gz";
    sha256 = "1ly425cgs0yi3lb5l84v3bacljw7m2nmzgky3acy1anp709iwi76";
  };

  buildInputs = [ pkgconfig autoreconfHook readline texinfo ];
  propagatedBuildInputs = [ gdbm gmp libffi ];

  configureFlags = [
    "--disable-static"
  ];

  setupHook = ./setup-hook.sh;

  meta = {
    description = "Fast, lightweight, and versatile Lisp environment";
    longDescription = ''
      librep is a Lisp system for UNIX, comprising an
      interpreter, a byte-code compiler, and a virtual
      machine. It can serve as an application extension language
      but is also suitable for standalone scripts.
    '';
    homepage = http://sawfish.wikia.com;
    license = licenses.gpl2;
    maintainers = [ maintainers.AndersonTorres ];
  };
}