Skip to content

Commit

Permalink
Merge pull request #158343 from fabaff/bump-chirpstack-api
Browse files Browse the repository at this point in the history
python3Packages.chirpstack-api: 3.9.4 -> 3.12.4
  • Loading branch information
fabaff committed Feb 7, 2022
2 parents 70d460d + 5a48085 commit baf8512
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions pkgs/development/python-modules/chirpstack-api/default.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, google-api-core
, grpcio
, pythonOlder
}:

buildPythonPackage rec {
pname = "chirpstack-api";
version = "3.9.4";
version = "3.12.4";
format = "setuptools";

src = fetchPypi {
inherit pname version;
sha256 = "08djidy3fyhghyzvndcjas3hb1s9d7719gvmgbl8bzxjm4h2c433";
disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "brocaar";
repo = pname;
rev = "v${version}";
hash = "sha256-69encHMk0eXE2Av87ysKvxoiXog5o68qCUlOx/lgHFU=";
};

sourceRoot = "source/python/src";

propagatedBuildInputs = [
google-api-core
grpcio
];

# Project has no tests
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "chirpstack_api" ];

pythonImportsCheck = [
"chirpstack_api"
];

meta = with lib; {
description = "ChirpStack gRPC API message and service wrappers for Python";
Expand Down

0 comments on commit baf8512

Please sign in to comment.