python310Packages.aranet4: 2.1.2 -> 2.1.3

Diff: https://github.com/Anrijs/Aranet4-Python/compare/refs/tags/v2.1.2...v2.1.3

- enable tests
This commit is contained in:
Fabian Affolter 2022-12-11 17:14:30 +01:00
parent fc4f384532
commit 7daf8fbabc

View File

@ -1,7 +1,7 @@
{ lib
, bleak
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
@ -9,14 +9,16 @@
buildPythonPackage rec {
pname = "aranet4";
version = "2.1.2";
version = "2.1.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-nuxj/rNuwAy1DXaJs0Qrl9GffiZqFkWxT/0TYRxg92s=";
src = fetchFromGitHub {
owner = "Anrijs";
repo = "Aranet4-Python";
rev = "refs/tags/v${version}";
hash = "sha256-5q4eOC9iuN8pUmDsiQ7OwEXkxi4KdL+bhGVjlQlTBAg=";
};
propagatedBuildInputs = [
@ -24,8 +26,9 @@ buildPythonPackage rec {
requests
];
# https://github.com/Anrijs/Aranet4-Python/issues/31
doCheck = false;
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"aranet4"