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

27 lines
557 B
Nix

{ buildPythonPackage
, fetchPypi
, mock
, zope_testing
, stdenv
}:
buildPythonPackage rec {
pname = "zc.lockfile";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "96cb13769e042988ea25d23d44cf09342ea0f887083d0f9736968f3617665853";
};
buildInputs = [ mock ];
propagatedBuildInputs = [ zope_testing ];
meta = with stdenv.lib; {
description = "Inter-process locks";
homepage = http://www.python.org/pypi/zc.lockfile;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}