2017-08-09 05:37:57 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, zope_interface
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "transaction";
|
2018-04-04 19:18:05 +01:00
|
|
|
version = "2.2.1";
|
2017-08-09 05:37:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:18:05 +01:00
|
|
|
sha256 = "f2242070e437e5d555ea3df809cb517860513254c828f33847df1c5e4b776c7a";
|
2017-08-09 05:37:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_interface mock ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Transaction management";
|
2017-11-10 21:13:27 +00:00
|
|
|
homepage = https://pypi.python.org/pypi/transaction;
|
2017-08-09 05:37:57 +01:00
|
|
|
license = licenses.zpl20;
|
|
|
|
};
|
|
|
|
}
|