My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/cachelib/default.nix

34 lines
715 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-xprocess
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "cachelib";
version = "0.7.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pallets";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-/378xNkBZHoTJ9Qs8RTYi+QosLs7GBgMOkIDYOaSH1Y=";
};
checkInputs = [
pytest-xprocess
pytestCheckHook
];
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 = with maintainers; [ gebner ];
};
}