depot/third_party/nixpkgs/pkgs/development/python-modules/cachelib/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

34 lines
701 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-xprocess
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "cachelib";
version = "0.5.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pallets";
repo = pname;
rev = version;
sha256 = "0sry5kn52hc742400xff99zpij0dxlvbd5m8il7k9ihpywrfvzd5";
};
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 ];
};
}