mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 09:13:56 +00:00
40 lines
769 B
Nix
40 lines
769 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
protobuf,
|
|
grpcio,
|
|
grpcio-tools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nominal-api-protos";
|
|
version = "0.1073.0";
|
|
pyproject = true;
|
|
|
|
# nixpkgs-update: no auto update
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "nominal_api_protos";
|
|
hash = "sha256-jI7V34IyfY6bwzUvcOi6tdQI+OkJRMdhmNq0rosMjR4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
protobuf
|
|
grpcio
|
|
grpcio-tools
|
|
];
|
|
|
|
pythonImportsCheck = [ "nominal_api_protos" ];
|
|
|
|
meta = {
|
|
description = "Generated protobuf client for the Nominal API";
|
|
homepage = "https://pypi.org/project/nominal-api-protos/";
|
|
maintainers = with lib.maintainers; [ alkasm ];
|
|
license = lib.licenses.unfree;
|
|
};
|
|
}
|