nixpkgs/pkgs/development/libraries/librep/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

38 lines
1.0 KiB
Nix

{ stdenv, fetchurl
, pkg-config, autoreconfHook
, readline, texinfo
, gdbm, gmp, libffi }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "librep";
version = "0.92.7";
sourceName = "librep_${version}";
src = fetchurl {
url = "https://download.tuxfamily.org/librep/${sourceName}.tar.xz";
sha256 = "1bmcjl1x1rdh514q9z3hzyjmjmwwwkziipjpjsl301bwmiwrd8a8";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ readline texinfo ];
propagatedBuildInputs = [ gdbm gmp libffi ];
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