mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
49 lines
942 B
Nix
49 lines
942 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatch-vcs,
|
|
hatchling,
|
|
pytest-asyncio,
|
|
pytest-mock,
|
|
pytest-timeout,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "filelock";
|
|
version = "3.20.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-GMV+6RXH7GHP8Oz38Phpk2x8MBkbsM9AbxNBd40INOE=";
|
|
};
|
|
|
|
build-system = [
|
|
hatch-vcs
|
|
hatchling
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytest-mock
|
|
pytest-timeout
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "filelock" ];
|
|
|
|
disabledTestPaths = [
|
|
# Circular dependency with virtualenv
|
|
"tests/test_virtualenv.py"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/tox-dev/py-filelock/releases/tag/${version}";
|
|
description = "Platform independent file lock for Python";
|
|
homepage = "https://github.com/benediktschmitt/py-filelock";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = [ ];
|
|
};
|
|
}
|