python310Packages.pyfritzhome: 0.6.7 -> 0.6.8

Diff: https://github.com/hthiery/python-fritzhome/compare/0.6.7...0.6.8
This commit is contained in:
Fabian Affolter 2023-03-05 00:07:18 +01:00
parent 67faa3e9b3
commit ebf00a9a44

View file

@ -1,24 +1,23 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
, nose
, mock
}:
buildPythonPackage rec {
pname = "pyfritzhome";
version = "0.6.7";
version = "0.6.8";
format = "setuptools";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "hthiery";
repo = "python-fritzhome";
rev = version;
hash = "sha256-cRG+Dm3KG6no3/OQCZkvISW1yE5azdDVTa5oTV1sRpk=";
rev = "refs/tags/${version}";
hash = "sha256-MIWRBwqVuS1iEuWxsE1yuGS2zHYVgnH2G4JJk7Yct6s=";
};
propagatedBuildInputs = [
@ -26,14 +25,9 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
mock
nose
pytestCheckHook
];
checkPhase = ''
nosetests
'';
pythonImportsCheck = [
"pyfritzhome"
];