python3Packages.lru-dict: 1.3.0 -> 1.4.0
https://github.com/amitdev/lru-dict/releases/tag/v1.4.0 This commit was automatically generated using update-python-libraries.
This commit is contained in:
@@ -1,25 +1,29 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "lru-dict";
|
||||
version = "1.3.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-VP0ZZta9H83ngVlsuGBoIU7e6/8dsTos6hEHnj/Qe2s=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "amitdev";
|
||||
repo = "lru-dict";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-pHjBTAXoOUyTSzzHzOBZeMFkJhzspylMhxwqXYLFOQg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools==" "setuptools>="
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@@ -28,8 +32,8 @@ buildPythonPackage {
|
||||
meta = {
|
||||
description = "Fast and memory efficient LRU cache for Python";
|
||||
homepage = "https://github.com/amitdev/lru-dict";
|
||||
changelog = "https://github.com/amitdev/lru-dict/releases/tag/v${version}";
|
||||
changelog = "https://github.com/amitdev/lru-dict/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user