Merge pull request #260368 from fabaff/pyiqvia-bump
python311Packages.pyiqvia: 2023.08.1 -> 2023.10.0
This commit is contained in:
commit
b0b924e865
1 changed files with 9 additions and 18 deletions
|
@ -3,6 +3,7 @@
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, aresponses
|
, aresponses
|
||||||
, backoff
|
, backoff
|
||||||
|
, certifi
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, poetry-core
|
, poetry-core
|
||||||
|
@ -10,36 +11,23 @@
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, yarl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyiqvia";
|
pname = "pyiqvia";
|
||||||
version = "2023.08.1";
|
version = "2023.10.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bachya";
|
owner = "bachya";
|
||||||
repo = pname;
|
repo = "pyiqvia";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-vPcb0mwREQri9FuYhWXihWSYnZ2ywBVujPMaNThTbVI=";
|
hash = "sha256-8eTa2h+1QOL0T13+lg2OzvaQv6CYYKkviQb4J5KPsvM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
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/pyiqvia/pull/245
|
|
||||||
#
|
|
||||||
(fetchpatch {
|
|
||||||
name = "clean-up-build-dependencies.patch";
|
|
||||||
url = "https://github.com/bachya/pyiqvia/commit/760d5bd1f4d60f3a97f6ea9a9a57860f4be3abdd.patch";
|
|
||||||
hash = "sha256-RLRbHmaR2A8MNc96WHx0L8ccyygoBUaOulAuRJkFuUM=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
@ -47,6 +35,8 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
backoff
|
backoff
|
||||||
|
certifi
|
||||||
|
yarl
|
||||||
];
|
];
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
@ -75,6 +65,7 @@ buildPythonPackage rec {
|
||||||
https://flustar.com and more).
|
https://flustar.com and more).
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/bachya/pyiqvia";
|
homepage = "https://github.com/bachya/pyiqvia";
|
||||||
|
changelog = "https://github.com/bachya/pyiqvia/releases/tag/${version}";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue