nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 806 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 google-api-core, 6 grpcio, 7}: 8 9buildPythonPackage rec { 10 pname = "chirpstack-api"; 11 version = "3.12.5"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "brocaar"; 16 repo = "chirpstack-api"; 17 rev = "v${version}"; 18 hash = "sha256-TDwvUNnGAbt10lLg6U7q+JMg7uu8TLySYqNyt/uk8UY="; 19 }; 20 21 sourceRoot = "${src.name}/python/src"; 22 23 propagatedBuildInputs = [ 24 google-api-core 25 grpcio 26 ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "chirpstack_api" ]; 32 33 meta = { 34 description = "ChirpStack gRPC API message and service wrappers for Python"; 35 homepage = "https://github.com/brocaar/chirpstack-api"; 36 license = with lib.licenses; [ mit ]; 37 maintainers = with lib.maintainers; [ fab ]; 38 }; 39}