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