2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config, autoreconfHook
|
2015-02-06 16:32:55 +00:00
|
|
|
, readline, texinfo
|
|
|
|
, gdbm, gmp, libffi }:
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
with lib;
|
2015-02-06 16:32:55 +00:00
|
|
|
|
2015-04-28 01:28:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "librep";
|
2018-02-27 05:02:05 +00:00
|
|
|
version = "0.92.7";
|
2016-10-23 11:06:47 +00:00
|
|
|
sourceName = "librep_${version}";
|
2015-02-06 16:32:55 +00:00
|
|
|
|
2015-04-28 01:28:23 +00:00
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://download.tuxfamily.org/librep/${sourceName}.tar.xz";
|
2018-02-27 05:02:05 +00:00
|
|
|
sha256 = "1bmcjl1x1rdh514q9z3hzyjmjmwwwkziipjpjsl301bwmiwrd8a8";
|
2015-02-06 16:32:55 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ readline texinfo ];
|
2015-02-06 16:32:55 +00:00
|
|
|
propagatedBuildInputs = [ gdbm gmp libffi ];
|
|
|
|
|
|
|
|
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
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://sawfish.wikia.com";
|
2015-02-06 16:32:55 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|
2016-10-23 11:06:47 +00:00
|
|
|
# TODO: investigate fetchFromGithub
|