forked from mirrors/nixpkgs
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`.
26 lines
495 B
Nix
26 lines
495 B
Nix
{ stdenv
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, zope_interface
|
|
, mock
|
|
}:
|
|
|
|
|
|
buildPythonPackage rec {
|
|
pname = "transaction";
|
|
version = "2.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f2242070e437e5d555ea3df809cb517860513254c828f33847df1c5e4b776c7a";
|
|
};
|
|
|
|
propagatedBuildInputs = [ zope_interface mock ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Transaction management";
|
|
homepage = https://pypi.python.org/pypi/transaction;
|
|
license = licenses.zpl20;
|
|
};
|
|
}
|