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