1{ stdenv, buildPythonPackage, fetchPypi, pytest }:
2
3buildPythonPackage rec {
4 pname = "locket";
5 version = "0.2.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1d4z2zngrpqkrfhnd4yhysh66kjn4mblys2l06sh5dix2p0n7vhz";
10 };
11
12 buildInputs = [ pytest ];
13
14 # weird test requirements (spur.local>=0.3.7,<0.4)
15 doCheck = false;
16
17 meta = with stdenv.lib; {
18 description = "Locket implements a lock that can be used by multiple processes provided they use the same path.";
19 homepage = https://github.com/mwilliamson/locket.py;
20 license = licenses.bsd2;
21 maintainers = with maintainers; [ teh ];
22 };
23}