nixpkgs/pkgs/development/python-modules/transaction/default.nix
2018-04-08 11:34:56 +02:00

27 lines
527 B
Nix

{ stdenv
, fetchPypi
, buildPythonPackage
, zope_interface
, mock
}:
buildPythonPackage rec {
name = "${pname}-${version}";
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;
};
}