python310Packages.transaction: disable on unsupported Python releases
- add format
This commit is contained in:
@@ -3,18 +3,25 @@
|
||||
, buildPythonPackage
|
||||
, zope_interface
|
||||
, mock
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "transaction";
|
||||
version = "3.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-ZdCx6pLb58Tjsjf7a9i0Heoj10Wee92MOIC//a+RL6Q=";
|
||||
hash = "sha256-ZdCx6pLb58Tjsjf7a9i0Heoj10Wee92MOIC//a+RL6Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zope_interface mock ];
|
||||
propagatedBuildInputs = [
|
||||
zope_interface
|
||||
mock
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Transaction management";
|
||||
|
||||
Reference in New Issue
Block a user