blob: 8b642240f9cb6b973771aeb72d275ba8aa16bbf3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib, buildPythonPackage, fetchPypi
, pytestCheckHook
, pytest-cov
, pytest-flake8
, pytest-mypy
, redis
}:
buildPythonPackage rec {
version = "2.3.0";
pname = "portalocker";
src = fetchPypi {
inherit pname version;
sha256 = "0k08c0qg21mwz3iqbd20ab22nq705q7cal4a1qr8qnd6ga03v4af";
};
propagatedBuildInputs = [
redis
];
checkInputs = [
pytestCheckHook
pytest-mypy
];
meta = with lib; {
description = "A library to provide an easy API to file locking";
homepage = "https://github.com/WoLpH/portalocker";
license = licenses.psfl;
maintainers = with maintainers; [ jonringer ];
platforms = platforms.unix; # Windows has a dependency on pypiwin32
};
}
|