forked from mirrors/nixpkgs
2e2416b36d
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/n46m9li9xl794686xii90gh0hqgh2v7d-librep-0.92.7/bin/rep --help` got 0 exit code - ran `/nix/store/n46m9li9xl794686xii90gh0hqgh2v7d-librep-0.92.7/bin/rep --version` and found version 0.92.7 - ran `/nix/store/n46m9li9xl794686xii90gh0hqgh2v7d-librep-0.92.7/bin/rep --help` and found version 0.92.7 - found 0.92.7 with grep in /nix/store/n46m9li9xl794686xii90gh0hqgh2v7d-librep-0.92.7 - found 0.92.7 in filename of file in /nix/store/n46m9li9xl794686xii90gh0hqgh2v7d-librep-0.92.7 cc "@AndersonTorres"
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{ stdenv, fetchurl
|
|
, pkgconfig, autoreconfHook
|
|
, readline, texinfo
|
|
, gdbm, gmp, libffi }:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "librep-${version}";
|
|
version = "0.92.7";
|
|
sourceName = "librep_${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.tuxfamily.org/librep/${sourceName}.tar.xz";
|
|
sha256 = "1bmcjl1x1rdh514q9z3hzyjmjmwwwkziipjpjsl301bwmiwrd8a8";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ 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 ];
|
|
};
|
|
}
|
|
# TODO: investigate fetchFromGithub
|