nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 python3,
3 version,
4 generator-out,
5}:
6python3.pkgs.buildPythonPackage {
7 pname = "nanopb-python-module";
8 inherit version;
9 src = generator-out;
10 pyproject = true;
11 pythonImportsCheck = [ "nanopb" ];
12 propagatedBuildInputs = with python3.pkgs; [
13 setuptools
14 protobuf
15 six
16 ];
17}