mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
Merge pull request #111483 from fabaff/bump-cachetools
This commit is contained in:
@@ -1,17 +1,28 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cachetools";
|
||||
version = "4.1.1";
|
||||
version = "4.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bbaa39c3dede00175df2dc2b03d0cf18dd2d32a7de7beb68072d13043c9edb20";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tkem";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1b662ph8m2d05d2vi3izgnr6v7h9zfvscfsaaw8nhdmmm15ivfa6";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "cachetools" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extensible memoizing collections and decorators";
|
||||
homepage = "https://github.com/tkem/cachetools";
|
||||
license = licenses.mit;
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user