https://github.com/wolph/portalocker/releases/tag/v3.2.0 This commit was automatically generated using update-python-libraries.
59 lines
1.0 KiB
Nix
59 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
|
|
# 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;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
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 = with lib; {
|
|
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 = licenses.psfl;
|
|
maintainers = [ ];
|
|
};
|
|
}
|