Merge pull request #313161 from fabaff/pydiscovergy-bump

python312Packages.pydiscovergy: 3.0.0 -> 3.0.1
This commit is contained in:
Nick Cao
2024-05-20 19:00:46 -04:00
committed by GitHub
@@ -1,23 +1,25 @@
{ lib
, authlib
, buildPythonPackage
, fetchFromGitHub
, httpx
, mashumaro
, orjson
, pytest-httpx
, poetry-core
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, pytz
, respx
{
lib,
authlib,
buildPythonPackage,
fetchFromGitHub,
httpx,
mashumaro,
orjson,
pytest-asyncio,
pytest-httpx,
poetry-core,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
pytz,
respx,
}:
buildPythonPackage rec {
pname = "pydiscovergy";
version = "3.0.0";
format = "pyproject";
version = "3.0.1";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -25,19 +27,18 @@ buildPythonPackage rec {
owner = "jpbede";
repo = "pydiscovergy";
rev = "refs/tags/v${version}";
hash = "sha256-ArcH/4ZyOtIGmoXArU+oEd357trJnS9umlN9B+U0dBI=";
hash = "sha256-0zyg1EBPOfcA1jAgtNbDCVaTv9hJQ2Xidl+doHbjKrM=";
};
postPatch = ''
sed -i '/addopts =/d' pyproject.toml
'';
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [
authlib
httpx
mashumaro
@@ -46,17 +47,16 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
pytest-asyncio
pytest-httpx
pytestCheckHook
respx
];
pythonImportsCheck = [
"pydiscovergy"
];
pythonImportsCheck = [ "pydiscovergy" ];
meta = with lib; {
description = "Async Python 3 library for interacting with the Discovergy API";
description = "Library for interacting with the Discovergy API";
homepage = "https://github.com/jpbede/pydiscovergy";
changelog = "https://github.com/jpbede/pydiscovergy/releases/tag/v${version}";
license = licenses.mit;