depot/third_party/nixpkgs/pkgs/development/python-modules/locket/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
629 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 ];
};
}