nixpkgs/pkgs/development/python-modules/flufl/lock.nix
2021-04-17 21:04:27 +00:00

25 lines
657 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytestCheckHook
, atpublic, psutil, pytestcov, sybil
}:
buildPythonPackage rec {
pname = "flufl.lock";
version = "5.0.5";
src = fetchPypi {
inherit pname version;
sha256 = "1bnapkg99r6mixn3kh314bqcfk8q54y0cvhjpj87j7dhjpsakfpz";
};
propagatedBuildInputs = [ atpublic psutil ];
checkInputs = [ pytestCheckHook pytestcov sybil ];
meta = with lib; {
homepage = "https://flufllock.readthedocs.io/";
description = "NFS-safe file locking with timeouts for POSIX and Windows";
maintainers = with maintainers; [ qyliss ];
license = licenses.asl20;
platforms = platforms.all;
};
}