nixpkgs/pkgs/development/python-modules/transaction/default.nix
2017-11-10 22:13:46 +01:00

27 lines
515 B
Nix

{ stdenv
, fetchPypi
, buildPythonPackage
, zope_interface
, mock
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "transaction";
version = "2.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1mab0r3grmgz9d97y8pynhg0r34v0am35vpxyvh7ff5sgmg3dg5r";
};
propagatedBuildInputs = [ zope_interface mock ];
meta = with stdenv.lib; {
description = "Transaction management";
homepage = https://pypi.python.org/pypi/transaction;
license = licenses.zpl20;
};
}