python312Packages.cached-property: 1.5.2 -> 2.0.1
Diff: https://github.com/pydanny/cached-property/compare/refs/tags/1.5.2...2.0.1 Changelog: https://github.com/pydanny/cached-property/releases/tag/2.0.1
This commit is contained in:
parent
0bbaf5505a
commit
73bf44ceb6
@ -2,38 +2,31 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pytestCheckHook,
|
||||
freezegun,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cached-property";
|
||||
version = "1.5.2";
|
||||
format = "setuptools";
|
||||
version = "2.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pydanny";
|
||||
repo = pname;
|
||||
repo = "cached-property";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-DGI8FaEjFd2bDeBDKcA0zDCE+5I6meapVNZgycE1gzs=";
|
||||
hash = "sha256-sOThFJs18DR9aBgIpqkORU4iRmhCVKehyM3DLYUt/Wc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Don't use asyncio.coroutine if it's not available, https://github.com/pydanny/cached-property/pull/267
|
||||
(fetchpatch {
|
||||
name = "asyncio-coroutine.patch";
|
||||
url = "https://github.com/pydanny/cached-property/commit/297031687679762849dedeaf24aa3a19116f095b.patch";
|
||||
hash = "sha256-qolrUdaX7db4hE125Lt9ICmPNYsD/uBmQrdO4q5NG3c=";
|
||||
})
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
nativeCheckInputs = [
|
||||
freezegun
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
|
Loading…
Reference in New Issue
Block a user