Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

65 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
pdm-backend,
# dependencies
grpclib,
python-dateutil,
typing-extensions,
# optional dependencies
jinja2,
ruff,
betterproto-rust-codec,
}:
buildPythonPackage rec {
pname = "betterproto-fw";
version = "2.0.3";
pyproject = true;
# Not available on Github
src = fetchPypi {
pname = "betterproto_fw";
inherit version;
hash = "sha256-ut5GchUiTygHhC2hj+gSWKCoVnZrrV8KIKFHTFzba5M=";
};
build-system = [
pdm-backend
];
dependencies = [
grpclib
python-dateutil
typing-extensions
];
optional-dependencies = {
compiler = [
jinja2
ruff
];
rust-codec = [
betterproto-rust-codec
];
};
doCheck = false; # no tests supplied
pythonImportsCheck = [
"betterproto"
];
meta = {
description = "Fork of betterproto used in fireworks-ai";
homepage = "https://pypi.org/project/betterproto-fw/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.sarahec ];
};
}