nixpkgs/pkgs/development/python-modules/rhpl/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

18 lines
518 B
Nix

{stdenv, fetchurl, rpmextract, python, wirelesstools, gettext}:
stdenv.mkDerivation rec {
pname = "rhpl";
version = "0.218";
name = "${pname}-${version}";
src = fetchurl {
url = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/releases/10/Everything/source/SRPMS//rhpl-0.218-1.src.rpm;
sha256 = "0c3sc74cjzz5dmpr2gi5naxcc5p2qmzagz7k561xj07njn0ddg16";
};
inherit python;
builder = ./builder.sh;
buildInputs = [ rpmextract python wirelesstools gettext ];
}