mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
ced21f5e1a
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`.
19 lines
525 B
Nix
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 ];
|
|
}
|