Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 64 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ 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 ]; };}