From a448295dcad4dcac5362d13c3a888eb749f92f22 Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Thu, 17 Dec 2020 13:26:08 +0100 Subject: [PATCH 1/2] pythonPackages.ciscomobilityexpress: init at 0.3.9 --- .../ciscomobilityexpress/default.nix | 20 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/python-modules/ciscomobilityexpress/default.nix diff --git a/pkgs/development/python-modules/ciscomobilityexpress/default.nix b/pkgs/development/python-modules/ciscomobilityexpress/default.nix new file mode 100644 index 000000000000..420a57c07d0d --- /dev/null +++ b/pkgs/development/python-modules/ciscomobilityexpress/default.nix @@ -0,0 +1,20 @@ +{ buildPythonPackage, fetchPypi, lib, requests }: + +buildPythonPackage rec { + pname = "ciscomobilityexpress"; + version = "0.3.9"; + + src = fetchPypi { + inherit pname version; + sha256 = "0kj0i1963afxqw9apk0yxzj1f7kpi1949ggnkzkb8v90kxpgymma"; + }; + + propagatedBuildInputs = [ requests ]; + + meta = { + description = "Module to interact with Cisco Mobility Express APIs to fetch connected devices"; + homepage = "https://pypi.python.org/pypi/${pname}/"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ uvnikita ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4c57648ae299..a93ebf9ba890 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1175,6 +1175,8 @@ in { cirq = callPackage ../development/python-modules/cirq { }; + ciscomobilityexpress = callPackage ../development/python-modules/ciscomobilityexpress { }; + ciso8601 = callPackage ../development/python-modules/ciso8601 { }; citeproc-py = callPackage ../development/python-modules/citeproc-py { }; From 1cbaca3bf230228ba7c9580bd89ce78053df3fca Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Fri, 18 Dec 2020 17:33:00 +0100 Subject: [PATCH 2/2] home-assistant: update component-packages --- pkgs/servers/home-assistant/component-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 2ac4d3beccdd..446ecf172be1 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -113,7 +113,7 @@ "channels" = ps: with ps; [ ]; # missing inputs: pychannels "circuit" = ps: with ps; [ ]; # missing inputs: circuit-webhook "cisco_ios" = ps: with ps; [ pexpect ]; - "cisco_mobility_express" = ps: with ps; [ ]; # missing inputs: ciscomobilityexpress + "cisco_mobility_express" = ps: with ps; [ ciscomobilityexpress ]; "cisco_webex_teams" = ps: with ps; [ ]; # missing inputs: webexteamssdk "citybikes" = ps: with ps; [ ]; "clementine" = ps: with ps; [ ]; # missing inputs: python-clementine-remote