depot/third_party/nixpkgs/pkgs/development/python-modules/chirpstack-api/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

32 lines
674 B
Nix

{ 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 ];
};
}