python312Packages.cached-property: 1.5.2 -> 2.0.1 (#357869)
This commit is contained in:
commit
b7de343ca7
@ -16,7 +16,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||
hash = "sha256-s7gqGvOnie7lGlpW3wfd8igWfowxwg9mftRjiHnvedc=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "tomlkit" ];
|
||||
pythonRelaxDeps = [
|
||||
"cached-property"
|
||||
"tomlkit"
|
||||
];
|
||||
|
||||
build-system = with python3.pkgs; [ poetry-core ];
|
||||
|
||||
|
@ -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