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=";
|
hash = "sha256-s7gqGvOnie7lGlpW3wfd8igWfowxwg9mftRjiHnvedc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [ "tomlkit" ];
|
pythonRelaxDeps = [
|
||||||
|
"cached-property"
|
||||||
|
"tomlkit"
|
||||||
|
];
|
||||||
|
|
||||||
build-system = with python3.pkgs; [ poetry-core ];
|
build-system = with python3.pkgs; [ poetry-core ];
|
||||||
|
|
||||||
|
@ -2,38 +2,31 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
pytestCheckHook,
|
|
||||||
freezegun,
|
freezegun,
|
||||||
|
pytestCheckHook,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cached-property";
|
pname = "cached-property";
|
||||||
version = "1.5.2";
|
version = "2.0.1";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pydanny";
|
owner = "pydanny";
|
||||||
repo = pname;
|
repo = "cached-property";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-DGI8FaEjFd2bDeBDKcA0zDCE+5I6meapVNZgycE1gzs=";
|
hash = "sha256-sOThFJs18DR9aBgIpqkORU4iRmhCVKehyM3DLYUt/Wc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
build-system = [ setuptools ];
|
||||||
# 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=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
|
||||||
freezegun
|
freezegun
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
Loading…
Reference in New Issue
Block a user