depot/third_party/nixpkgs/pkgs/development/python-modules/locket/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

23 lines
631 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "locket";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "3e1faba403619fe201552f083f1ecbf23f550941bc51985ac6ed4d02d25056dd";
};
buildInputs = [ pytest ];
# weird test requirements (spur.local>=0.3.7,<0.4)
doCheck = false;
meta = with 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 ];
};
}