commit
25bcf382c6
@ -1,37 +1,49 @@ |
||||
{ lib, stdenv, fetchurl |
||||
, pkg-config, autoreconfHook |
||||
, readline, texinfo |
||||
, gdbm, gmp, libffi }: |
||||
|
||||
with lib; |
||||
{ lib |
||||
, stdenv |
||||
, fetchurl |
||||
, autoreconfHook |
||||
, gdbm |
||||
, gmp |
||||
, libffi |
||||
, pkg-config |
||||
, readline |
||||
, texinfo |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "librep"; |
||||
version = "0.92.7"; |
||||
sourceName = "librep_${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://download.tuxfamily.org/librep/${sourceName}.tar.xz"; |
||||
url = "https://download.tuxfamily.org/${pname}/${pname}_${version}.tar.xz"; |
||||
sha256 = "1bmcjl1x1rdh514q9z3hzyjmjmwwwkziipjpjsl301bwmiwrd8a8"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ]; |
||||
buildInputs = [ readline texinfo ]; |
||||
propagatedBuildInputs = [ gdbm gmp libffi ]; |
||||
nativeBuildInputs = [ |
||||
autoreconfHook |
||||
pkg-config |
||||
texinfo |
||||
]; |
||||
buildInputs = [ |
||||
gdbm |
||||
gmp |
||||
libffi |
||||
readline |
||||
]; |
||||
|
||||
setupHook = ./setup-hook.sh; |
||||
|
||||
meta = { |
||||
meta = with lib;{ |
||||
homepage = "http://sawfish.tuxfamily.org/"; |
||||
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; |
||||
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. |
||||
''; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = [ maintainers.AndersonTorres ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
# TODO: investigate fetchFromGithub |
||||
|
@ -1,30 +1,40 @@ |
||||
{ lib, stdenv, fetchurl, pkg-config, autoreconfHook, librep, gtk2 }: |
||||
{ lib |
||||
, stdenv |
||||
, fetchurl |
||||
, autoreconfHook |
||||
, gtk2 |
||||
, librep |
||||
, pkg-config |
||||
}: |
||||
|
||||
with lib; |
||||
stdenv.mkDerivation rec { |
||||
|
||||
pname = "rep-gtk"; |
||||
version = "0.90.8.3"; |
||||
sourceName = "rep-gtk_${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://download.tuxfamily.org/librep/rep-gtk/${sourceName}.tar.xz"; |
||||
url = "https://download.tuxfamily.org/librep/${pname}/${pname}_${version}.tar.xz"; |
||||
sha256 = "0hgkkywm8zczir3lqr727bn7ybgg71x9cwj1av8fykkr8pdpard9"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ]; |
||||
buildInputs = [ ]; |
||||
propagatedBuildInputs = [ librep gtk2 ]; |
||||
nativeBuildInputs = [ |
||||
autoreconfHook |
||||
pkg-config |
||||
]; |
||||
buildInputs = [ |
||||
gtk2 |
||||
librep |
||||
]; |
||||
|
||||
patchPhase = '' |
||||
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in |
||||
''; |
||||
|
||||
meta = { |
||||
meta = with lib; { |
||||
homepage = "http://sawfish.tuxfamily.org"; |
||||
description = "GTK bindings for librep"; |
||||
homepage = "http://sawfish.wikia.com"; |
||||
license = licenses.gpl2; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = [ maintainers.AndersonTorres ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
# TODO: investigate fetchFromGithub |
||||
|
Loading…
Reference in new issue