nixpkgs/pkgs/development/python-modules/rhpl/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

19 lines
525 B
Nix

{stdenv, buildPythonPackage, fetchurl, rpmextract, python, wirelesstools, gettext}:
buildPythonPackage rec {
pname = "rhpl";
version = "0.218";
format = "other";
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 ];
}