nixpkgs/pkgs/applications/package-management/rpm/default.nix
Armijn Hemel c564d6dbb2 lua needs to be built, no matter what...then why do they provide an option
to disable it, which doesn't even work properly???

TODO: fix -lncurses error in lua...

svn path=/nixpkgs/trunk/; revision=4404
2005-12-20 01:29:04 +00:00

17 lines
721 B
Nix

{stdenv, fetchurl, python, tcl, readline, file, cpio, beecrypt, unzip, neon, gnupg, libxml2, perl}:
stdenv.mkDerivation {
name = "rpm-4.4.5";
src = fetchurl {
url = http://losser.labs.cs.uu.nl/~armijn/.nix/rpm-4.4.5.tar.gz;
#md5 = "e24ce468082479fe850c9d6563f56db5";
md5 = "3f277388b0486c6e8ce9b07fdf53993e";
};
buildInputs = [python tcl readline file cpio beecrypt unzip neon gnupg libxml2 perl];
#configureFlags = "--without-python --with-selinux=no --without-lua";
configureFlags = "--without-python --with-selinux=no";
patches = [./rpm-4.4.5-lua.patch ./rpm-4.4.5-beecrypt-include.patch ./rpm-4.4.5-neon-include.patch ./rpm-4.4.5-libxml2-include.patch];
inherit beecrypt neon libxml2;
}