Merge pull request #282880 from r-ryantm/auto-update/python311Packages.openerz-api

python311Packages.openerz-api: 0.2.0 -> 0.3.0
This commit is contained in:
Fabian Affolter 2024-01-23 16:27:50 +01:00 committed by GitHub
commit 624b8aefb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,23 +4,28 @@
, pytestCheckHook
, pythonOlder
, requests
, setuptools
, testfixtures
}:
buildPythonPackage rec {
pname = "openerz-api";
version = "0.2.0";
format = "setuptools";
version = "0.3.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "misialq";
repo = pname;
repo = "openerz-api";
rev = "refs/tags/v${version}";
hash = "sha256-6q0mKWyTTlNJ/DCeAsck1meM5dQovYBcV2EqmjlABvc=";
hash = "sha256-CwK61StspZJt0TALv76zfibUzlriwp9HRoYOtX9bU+c=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
requests
];
@ -34,11 +39,6 @@ buildPythonPackage rec {
"openerz_api"
];
disabledTests = [
# Assertion issue
"test_sensor_make_api_request"
];
meta = with lib; {
description = "Python module to interact with the OpenERZ API";
homepage = "https://github.com/misialq/openerz-api";