1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "locket"; 5 version = "0.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "3e1faba403619fe201552f083f1ecbf23f550941bc51985ac6ed4d02d25056dd"; 10 }; 11 12 buildInputs = [ pytest ]; 13 14 # weird test requirements (spur.local>=0.3.7,<0.4) 15 doCheck = false; 16 17 meta = with 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}