diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-01-15 02:50:20 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-01-18 12:30:53 +0100 |
commit | 3064015b6d7895300563f0159033c3cef74889c2 (patch) | |
tree | 611a70659b0a3f9a5c8b353390a597f1a497502b /pkgs/development/python-modules/fritzconnection/default.nix | |
parent | 87947ca8dea63771ef3de9e370877bcf2e677140 (diff) | |
download | nixlib-3064015b6d7895300563f0159033c3cef74889c2.tar nixlib-3064015b6d7895300563f0159033c3cef74889c2.tar.gz nixlib-3064015b6d7895300563f0159033c3cef74889c2.tar.bz2 nixlib-3064015b6d7895300563f0159033c3cef74889c2.tar.lz nixlib-3064015b6d7895300563f0159033c3cef74889c2.tar.xz nixlib-3064015b6d7895300563f0159033c3cef74889c2.tar.zst nixlib-3064015b6d7895300563f0159033c3cef74889c2.zip |
pythonPackages.fritzconnection: init at 0.6.5
Diffstat (limited to 'pkgs/development/python-modules/fritzconnection/default.nix')
-rw-r--r-- | pkgs/development/python-modules/fritzconnection/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/fritzconnection/default.nix b/pkgs/development/python-modules/fritzconnection/default.nix new file mode 100644 index 000000000000..ced7d7bdcd4a --- /dev/null +++ b/pkgs/development/python-modules/fritzconnection/default.nix @@ -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 ]; + }; +} |