Merge pull request #33878 from dotlambda/fritzconnection

pythonPackages.fritzconnection: init at 0.6.5
This commit is contained in:
Frederik Rietdijk 2018-01-18 12:36:57 +01:00 committed by GitHub
commit aee7a0e928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi, lxml, requests, tkinter }:
buildPythonPackage rec {
pname = "fritzconnection";
version = "0.6.5";
src = fetchPypi {
inherit pname version;
sha256 = "14g3sxprq65lxbgkf3rjgb1bjqnj2jc5p1swlq9sk9gwnl6ca3ds";
};
prePatch = ''
substituteInPlace fritzconnection/test.py \
--replace "from fritzconnection import" "from .fritzconnection import"
'';
propagatedBuildInputs = [ lxml requests tkinter ];
meta = with stdenv.lib; {
description = "Python-Tool to communicate with the AVM FritzBox using the TR-064 protocol";
homepage = https://bitbucket.org/kbr/fritzconnection;
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -4704,6 +4704,8 @@ in {
};
};
fritzconnection = callPackage ../development/python-modules/fritzconnection { };
frozendict = buildPythonPackage rec {
name = "frozendict-0.5";