2021-04-17 00:59:46 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook
|
2021-04-17 00:58:02 +00:00
|
|
|
, atpublic, psutil, pytestcov, sybil
|
|
|
|
}:
|
2019-08-23 20:19:45 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flufl.lock";
|
2021-04-17 00:58:02 +00:00
|
|
|
version = "5.0.5";
|
2019-08-23 20:19:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-17 00:58:02 +00:00
|
|
|
sha256 = "1bnapkg99r6mixn3kh314bqcfk8q54y0cvhjpj87j7dhjpsakfpz";
|
2019-08-23 20:19:45 +00:00
|
|
|
};
|
2021-04-17 00:58:02 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ atpublic psutil ];
|
|
|
|
checkInputs = [ pytestCheckHook pytestcov sybil ];
|
2021-04-17 00:59:46 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
2019-08-23 20:19:45 +00:00
|
|
|
}
|