nixpkgs-suyu/pkgs/development/python-modules/zodbpickle/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

22 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;
};
}