1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "locket";
10 version = "1.0.0";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-XA1MBSqLu/dQ4Fao5lzNMJCG9PDxii6sMGqN+kESpjI=";
18 };
19
20 # weird test requirements (spur.local>=0.3.7,<0.4)
21 doCheck = false;
22
23 pythonImportsCheck = [ "locket" ];
24
25 meta = with lib; {
26 description = "Library which provides a lock that can be used by multiple processes";
27 homepage = "https://github.com/mwilliamson/locket.py";
28 license = licenses.bsd2;
29 maintainers = with maintainers; [ teh ];
30 };
31}