diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-06-28 00:02:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-28 00:02:11 +0000 |
commit | 2f3bfad6d26f49f659394f7937896d9ce2bff91e (patch) | |
tree | eb23511c03f43af81041f7704e831dfdb6de141a /pkgs/by-name/na/nanopb/python-module.nix | |
parent | 1bfaa6d6e112d9eaa364a50cd085c82e7acd0a3e (diff) | |
parent | f60c6b6c78b57915f233dc65928f7965d6c4afce (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/by-name/na/nanopb/python-module.nix')
-rw-r--r-- | pkgs/by-name/na/nanopb/python-module.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/by-name/na/nanopb/python-module.nix b/pkgs/by-name/na/nanopb/python-module.nix new file mode 100644 index 0000000000000..f58c955307d84 --- /dev/null +++ b/pkgs/by-name/na/nanopb/python-module.nix @@ -0,0 +1,16 @@ +{ python3 +, version +, generator-out +}: +python3.pkgs.buildPythonPackage { + pname = "nanopb-python-module"; + inherit version; + src = generator-out; + pyproject = true; + pythonImportsCheck = [ "nanopb" ]; + propagatedBuildInputs = with python3.pkgs; [ + setuptools + protobuf + six + ]; +} |