From 952b650b473e6ef29b3e794dd15084579b2f60fb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Feb 2021 11:22:09 +0100 Subject: [PATCH] python3Packages.tellduslive: init at 0.10.11 --- .../python-modules/tellduslive/default.nix | 36 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/python-modules/tellduslive/default.nix diff --git a/pkgs/development/python-modules/tellduslive/default.nix b/pkgs/development/python-modules/tellduslive/default.nix new file mode 100644 index 000000000000..5a6a84af8392 --- /dev/null +++ b/pkgs/development/python-modules/tellduslive/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, docopt +, fetchFromGitHub +, requests +, requests_oauthlib +}: + +buildPythonPackage rec { + pname = "tellduslive"; + version = "0.10.11"; + + src = fetchFromGitHub { + owner = "molobrakos"; + repo = pname; + rev = "v${version}"; + sha256 = "0aqhj6fq2z2qb4jyk23ygjicf5nlj8lkya7blkyqb7jra5k1gyg0"; + }; + + propagatedBuildInputs = [ + docopt + requests + requests_oauthlib + ]; + + # Project has no tests + doCheck = false; + pythonImportsCheck = [ "tellduslive" ]; + + meta = with lib; { + description = "Python module to communicate with Telldus Live"; + homepage = "https://github.com/molobrakos/tellduslive"; + license = with licenses; [ unlicense ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bdff2fce1522..ed2a4d7a3a50 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7742,6 +7742,8 @@ in { tensorly = callPackage ../development/python-modules/tensorly { }; + tellduslive = callPackage ../development/python-modules/tellduslive { }; + termcolor = callPackage ../development/python-modules/termcolor { }; terminado = callPackage ../development/python-modules/terminado { };