blob: 05254bc9059dc587d6c562e74717945ef36e7d4e (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
setuptools-scm,
# dependencies
redis,
# tests
pygments,
pytest-cov-stub,
pytest-rerunfailures,
pytest-timeout,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "portalocker";
version = "3.2.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-HzAClWpUqMNzBYbFx3vxj65BSeB+rxwp/D+vTVo/iaw=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [ redis ];
nativeCheckInputs = [
pygments
pytest-cov-stub
pytest-rerunfailures
pytest-timeout
pytestCheckHook
];
pythonImportsCheck = [ "portalocker" ];
meta = {
changelog = "https://github.com/wolph/portalocker/releases/tag/v${version}";
description = "Library to provide an easy API to file locking";
homepage = "https://github.com/WoLpH/portalocker";
license = lib.licenses.psfl;
maintainers = [ ];
};
}
|