1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, setuptools-scm
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "filelock";
11 version = "3.3.0";
12 format = "pyproject";
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "8c7eab13dc442dc249e95158bcc12dec724465919bdc9831fdbf0660f03d1785";
18 };
19
20 nativeBuildInputs = [
21 setuptools-scm
22 ];
23
24 checkInputs = [
25 pytestCheckHook
26 ];
27
28 meta = with lib; {
29 homepage = "https://github.com/benediktschmitt/py-filelock";
30 description = "A platform independent file lock for Python";
31 license = licenses.unlicense;
32 maintainers = with maintainers; [ hyphon81 ];
33 };
34}