mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
python3.pkgs.aiorecollect: 2022.10.0 -> 2023.08.0
This commit is contained in:
parent
205d78fb9c
commit
3c50294630
@ -3,6 +3,7 @@
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, freezegun
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
@ -12,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiorecollect";
|
||||
version = "2022.10.0";
|
||||
version = "2023.08.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -21,9 +22,29 @@ buildPythonPackage rec {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-JIh6jr4pFXGZTUi6K7VsymaCxCrTNBevk9xo9TsrFnM=";
|
||||
hash = "sha256-oTkWirq3w0DgQWWe0ziK+ry4pg6j6SQbBESLG4xgDE4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# This patch removes references to setuptools and wheel that are no longer
|
||||
# necessary and changes poetry to poetry-core, so that we don't need to add
|
||||
# unnecessary nativeBuildInputs.
|
||||
#
|
||||
# https://github.com/bachya/aiorecollect/pull/207
|
||||
#
|
||||
(fetchpatch {
|
||||
name = "clean-up-dependencies.patch";
|
||||
url = "https://github.com/bachya/aiorecollect/commit/0bfddead1c1b176be4d599b8e12ed608eac97b8b.patch";
|
||||
hash = "sha256-w/LAtyuyYsAAukDeIy8XLlp9QrydC1Wmi2zxEj1Zdm8=";
|
||||
includes = [ "pyproject.toml" ];
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# this is not used directly by the project
|
||||
sed -i '/certifi =/d' pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
@ -32,6 +53,8 @@ buildPythonPackage rec {
|
||||
aiohttp
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
freezegun
|
||||
|
Loading…
Reference in New Issue
Block a user