From 6966ee9c781337d1bbace2d1d304d67cc69fd3da Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 1 Mar 2021 15:52:35 +0100 Subject: [PATCH] python3Packages.chirpstack-api: init at 3.9.4 --- .../python-modules/chirpstack-api/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/chirpstack-api/default.nix diff --git a/pkgs/development/python-modules/chirpstack-api/default.nix b/pkgs/development/python-modules/chirpstack-api/default.nix new file mode 100644 index 000000000000..a019dd651999 --- /dev/null +++ b/pkgs/development/python-modules/chirpstack-api/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchPypi +, google-api-core +, grpcio +}: + +buildPythonPackage rec { + pname = "chirpstack-api"; + version = "3.9.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "08djidy3fyhghyzvndcjas3hb1s9d7719gvmgbl8bzxjm4h2c433"; + }; + + propagatedBuildInputs = [ + google-api-core + grpcio + ]; + + # Project has no tests + doCheck = false; + pythonImportsCheck = [ "chirpstack_api" ]; + + meta = with lib; { + description = "ChirpStack gRPC API message and service wrappers for Python"; + homepage = "https://github.com/brocaar/chirpstack-api"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 205813ddb1c5..fde4264426ee 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1281,6 +1281,8 @@ in { chevron = callPackage ../development/python-modules/chevron { }; + chirpstack-api = callPackage ../development/python-modules/chirpstack-api { }; + ci-info = callPackage ../development/python-modules/ci-info { }; ci-py = callPackage ../development/python-modules/ci-py { };