1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

Merge pull request #139854 from fabaff/bump-fritzconnection

This commit is contained in:
Sandro 2021-09-29 10:28:50 +02:00 committed by GitHub
commit ad86b354d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,24 @@
{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pytestCheckHook, requests }:
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytestCheckHook
, requests
}:
buildPythonPackage rec {
pname = "fritzconnection";
version = "1.6.0";
version = "1.7.0";
disabled = pythonOlder "3.6";
# no tests on PyPI
src = fetchFromGitHub {
owner = "kbr";
repo = pname;
rev = version;
sha256 = "16sbv6ql6jd13lim88z8vl5205xppza10340bmq5m5f3lvzb7mpc";
sha256 = "sha256-1HzeNtSqzqr9zyxF1PVWi6QfRupw8huMYmdFI6rzIdY=";
};
disabled = pythonOlder "3.6";
propagatedBuildInputs = [ requests ];
checkInputs = [ pytestCheckHook ];
@ -21,7 +26,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "fritzconnection" ];
meta = with lib; {
description = "Python-Tool to communicate with the AVM Fritz!Box";
description = "Python module to communicate with the AVM Fritz!Box";
homepage = "https://github.com/kbr/fritzconnection";
changelog = "https://fritzconnection.readthedocs.io/en/${version}/sources/changes.html";
license = licenses.mit;