nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 799 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytest-xprocess, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "cachelib"; 11 version = "0.13.0"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "pallets"; 16 repo = "cachelib"; 17 tag = version; 18 hash = "sha256-8jg+zfdIATvu/GSFvqHl4cNMu+s2IFWC22vPZ7Q3WYI="; 19 }; 20 21 nativeCheckInputs = [ 22 pytest-xprocess 23 pytestCheckHook 24 ]; 25 26 disabledTestPaths = [ 27 # requires set up local server 28 "tests/test_dynamodb_cache.py" 29 "tests/test_mongodb_cache.py" 30 ]; 31 32 pythonImportsCheck = [ "cachelib" ]; 33 34 meta = { 35 homepage = "https://github.com/pallets/cachelib"; 36 description = "Collection of cache libraries in the same API interface"; 37 license = lib.licenses.bsd3; 38 maintainers = [ ]; 39 }; 40}