python310Packages.locket: 0.2.1 -> 1.0.0

This commit is contained in:
Fabian Affolter 2022-05-22 22:59:37 +02:00 committed by Jonathan Ringer
parent 6d106f0582
commit 348353cf36
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -1,21 +1,30 @@
{ lib, buildPythonPackage, fetchPypi, pytest }: { lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "locket"; pname = "locket";
version = "0.2.1"; version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "3e1faba403619fe201552f083f1ecbf23f550941bc51985ac6ed4d02d25056dd"; hash = "sha256-XA1MBSqLu/dQ4Fao5lzNMJCG9PDxii6sMGqN+kESpjI=";
}; };
buildInputs = [ pytest ];
# weird test requirements (spur.local>=0.3.7,<0.4) # weird test requirements (spur.local>=0.3.7,<0.4)
doCheck = false; doCheck = false;
pythonImportsCheck = [
"locket"
];
meta = with lib; { meta = with lib; {
description = "Locket implements a lock that can be used by multiple processes provided they use the same path."; description = "Library which provides a lock that can be used by multiple processes";
homepage = "https://github.com/mwilliamson/locket.py"; homepage = "https://github.com/mwilliamson/locket.py";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = with maintainers; [ teh ]; maintainers = with maintainers; [ teh ];