3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/librem/default.nix

25 lines
826 B
Nix
Raw Normal View History

2012-09-24 18:02:19 +01:00
{stdenv, fetchurl, zlib, openssl, libre}:
stdenv.mkDerivation rec {
version = "0.4.2";
name = "librem-${version}";
src=fetchurl {
url = "http://www.creytiv.com/pub/rem-${version}.tar.gz";
sha256 = "55c66118e3026c5ed42d8b9e0c668149baefe83f1aa76394cddba2d72f45d5c7";
};
buildInputs = [zlib openssl libre];
makeFlags = [
"LIBRE_MK=${libre}/share/re/re.mk"
"LIBRE_INC=${libre}/include/re"
''PREFIX=$(out)''
]
++ stdenv.lib.optional (stdenv.gcc.gcc != null) "SYSROOT_ALT=${stdenv.gcc.gcc}"
++ stdenv.lib.optional (stdenv.gcc.libc != null) "SYSROOT=${stdenv.gcc.libc}"
;
2012-09-24 18:02:19 +01:00
meta = {
homepage = "http://www.creytiv.com/rem.html";
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [raskin];
license = with stdenv.lib.licenses; bsd3;
};
}