1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
nixpkgs/pkgs/development/python-modules/locket/default.nix
2018-04-04 19:46:00 +02:00

24 lines
627 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "locket";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1d4z2zngrpqkrfhnd4yhysh66kjn4mblys2l06sh5dix2p0n7vhz";
};
buildInputs = [ pytest ];
# weird test requirements (spur.local>=0.3.7,<0.4)
doCheck = false;
meta = with stdenv.lib; {
description = "Locket implements a lock that can be used by multiple processes provided they use the same path.";
homepage = https://github.com/mwilliamson/locket.py;
license = licenses.bsd2;
maintainers = with maintainers; [ teh ];
};
}