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`.
23 lines
435 B
Nix
23 lines
435 B
Nix
{ buildPythonPackage
|
|
, isPyPy
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zodbpickle";
|
|
version = "1.0.1";
|
|
disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5fdfa84f05b25511a4e1190ec98728aa487e2eb6db016a951fdbb79bcc7307e0";
|
|
};
|
|
|
|
# fails..
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = https://pypi.python.org/pypi/zodbpickle;
|
|
};
|
|
}
|