1{ lib
2, fetchPypi
3, buildPythonPackage
4, zope_interface
5, mock
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "transaction";
11 version = "3.1.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-ZdCx6pLb58Tjsjf7a9i0Heoj10Wee92MOIC//a+RL6Q=";
19 };
20
21 propagatedBuildInputs = [
22 zope_interface
23 mock
24 ];
25
26 pythonImportsCheck = [
27 "transaction"
28 ];
29
30 meta = with lib; {
31 description = "Transaction management";
32 homepage = "https://transaction.readthedocs.io/";
33 changelog = "https://github.com/zopefoundation/transaction/blob/${version}/CHANGES.rst";
34 license = licenses.zpl20;
35 maintainers = with maintainers; [ ];
36 };
37}