python310Packages.locket: 0.2.1 -> 1.0.0
This commit is contained in:
parent
6d106f0582
commit
348353cf36
1 changed files with 15 additions and 6 deletions
|
@ -1,21 +1,30 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "locket";
|
||||
version = "0.2.1";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3e1faba403619fe201552f083f1ecbf23f550941bc51985ac6ed4d02d25056dd";
|
||||
hash = "sha256-XA1MBSqLu/dQ4Fao5lzNMJCG9PDxii6sMGqN+kESpjI=";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
# weird test requirements (spur.local>=0.3.7,<0.4)
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"locket"
|
||||
];
|
||||
|
||||
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";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ teh ];
|
||||
|
|
Loading…
Reference in a new issue