librep: cleanup

This commit is contained in:
AndersonTorres 2021-03-03 15:47:24 -03:00
parent 548cba4ab5
commit 5f935b5625

View File

@ -1,37 +1,49 @@
{ lib, stdenv, fetchurl { lib
, pkg-config, autoreconfHook , stdenv
, readline, texinfo , fetchurl
, gdbm, gmp, libffi }: , autoreconfHook
, gdbm
with lib; , gmp
, libffi
, pkg-config
, readline
, texinfo
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "librep"; pname = "librep";
version = "0.92.7"; version = "0.92.7";
sourceName = "librep_${version}";
src = fetchurl { src = fetchurl {
url = "https://download.tuxfamily.org/librep/${sourceName}.tar.xz"; url = "https://download.tuxfamily.org/${pname}/${pname}_${version}.tar.xz";
sha256 = "1bmcjl1x1rdh514q9z3hzyjmjmwwwkziipjpjsl301bwmiwrd8a8"; sha256 = "1bmcjl1x1rdh514q9z3hzyjmjmwwwkziipjpjsl301bwmiwrd8a8";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config ]; nativeBuildInputs = [
buildInputs = [ readline texinfo ]; autoreconfHook
propagatedBuildInputs = [ gdbm gmp libffi ]; pkg-config
texinfo
];
buildInputs = [
gdbm
gmp
libffi
readline
];
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;
meta = { meta = with lib;{
homepage = "http://sawfish.tuxfamily.org/";
description = "Fast, lightweight, and versatile Lisp environment"; description = "Fast, lightweight, and versatile Lisp environment";
longDescription = '' longDescription = ''
librep is a Lisp system for UNIX, comprising an librep is a Lisp system for UNIX, comprising an interpreter, a byte-code
interpreter, a byte-code compiler, and a virtual compiler, and a virtual machine. It can serve as an application extension
machine. It can serve as an application extension language language but is also suitable for standalone scripts.
but is also suitable for standalone scripts. '';
''; license = licenses.gpl2Plus;
homepage = "http://sawfish.wikia.com";
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.unix;
}; };
} }
# TODO: investigate fetchFromGithub # TODO: investigate fetchFromGithub