Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
852 B
Nix
43 lines
852 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytest-xprocess,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cachelib";
|
|
version = "0.13.0";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pallets";
|
|
repo = "cachelib";
|
|
tag = version;
|
|
hash = "sha256-8jg+zfdIATvu/GSFvqHl4cNMu+s2IFWC22vPZ7Q3WYI=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytest-xprocess
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# requires set up local server
|
|
"tests/test_dynamodb_cache.py"
|
|
"tests/test_mongodb_cache.py"
|
|
];
|
|
|
|
pythonImportsCheck = [ "cachelib" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/pallets/cachelib";
|
|
description = "Collection of cache libraries in the same API interface";
|
|
license = licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
}
|