Merge pull request #219590 from fabaff/pyfritzhome-bump

python310Packages.pyfritzhome: 0.6.7 -> 0.6.8
This commit is contained in:
Martin Weinelt 2023-03-04 23:49:24 +00:00 committed by GitHub
commit a6c145df9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"
];