2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
2018-04-03 11:44:10 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "locket";
|
2021-02-20 09:09:11 +00:00
|
|
|
version = "0.2.1";
|
2018-04-03 11:44:10 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:11 +00:00
|
|
|
sha256 = "3e1faba403619fe201552f083f1ecbf23f550941bc51985ac6ed4d02d25056dd";
|
2018-04-03 11:44:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
|
|
|
|
# weird test requirements (spur.local>=0.3.7,<0.4)
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-03 11:44:10 +00:00
|
|
|
description = "Locket implements a lock that can be used by multiple processes provided they use the same path.";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/mwilliamson/locket.py";
|
2018-04-03 11:44:10 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ teh ];
|
|
|
|
};
|
|
|
|
}
|