depot/third_party/nixpkgs/pkgs/development/python-modules/transaction/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

37 lines
731 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, zope_interface
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "transaction";
version = "3.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZdCx6pLb58Tjsjf7a9i0Heoj10Wee92MOIC//a+RL6Q=";
};
propagatedBuildInputs = [
zope_interface
mock
];
pythonImportsCheck = [
"transaction"
];
meta = with lib; {
description = "Transaction management";
homepage = "https://transaction.readthedocs.io/";
changelog = "https://github.com/zopefoundation/transaction/blob/${version}/CHANGES.rst";
license = licenses.zpl20;
maintainers = with maintainers; [ ];
};
}