2015-04-28 01:28:23 +00:00
|
|
|
{ stdenv, fetchurl
|
2015-02-06 16:32:55 +00:00
|
|
|
, pkgconfig, autoreconfHook
|
|
|
|
, readline, texinfo
|
|
|
|
, gdbm, gmp, libffi }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
2015-04-28 01:28:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "librep-${version}";
|
2016-10-23 11:06:47 +00:00
|
|
|
version = "0.92.6";
|
|
|
|
sourceName = "librep_${version}";
|
2015-02-06 16:32:55 +00:00
|
|
|
|
2015-04-28 01:28:23 +00:00
|
|
|
src = fetchurl {
|
2016-10-23 11:06:47 +00:00
|
|
|
url = "http://download.tuxfamily.org/librep/${sourceName}.tar.xz";
|
|
|
|
sha256 = "1k6c0hmyzxh8459r790slh9vv9vwy9d7w3nlmrqypbx9mk855hgy";
|
2015-02-06 16:32:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig autoreconfHook readline texinfo ];
|
|
|
|
propagatedBuildInputs = [ gdbm gmp libffi ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-static"
|
|
|
|
];
|
|
|
|
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
2015-04-28 01:28:23 +00:00
|
|
|
description = "Fast, lightweight, and versatile Lisp environment";
|
2015-02-06 16:32:55 +00:00
|
|
|
longDescription = ''
|
2015-04-28 01:28:23 +00:00
|
|
|
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.
|
2016-10-23 11:06:47 +00:00
|
|
|
'';
|
2015-02-06 16:32:55 +00:00
|
|
|
homepage = http://sawfish.wikia.com;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|
2016-10-23 11:06:47 +00:00
|
|
|
# TODO: investigate fetchFromGithub
|