diff options
Diffstat (limited to 'pkgs/development/python-modules/pytinyrenderer/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/pytinyrenderer/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytinyrenderer/default.nix b/pkgs/development/python-modules/pytinyrenderer/default.nix new file mode 100644 index 000000000000..c2dc075095de --- /dev/null +++ b/pkgs/development/python-modules/pytinyrenderer/default.nix @@ -0,0 +1,36 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, +}: + +buildPythonPackage rec { + pname = "pytinyrenderer"; + version = "0.0.14"; + pyproject = true; + + # github has no tags + src = fetchPypi { + inherit pname version; + hash = "sha256-X+20eYUJy5EaA6O8no3o1NWqNrHeUuuHjv7xBLlaPRU="; + }; + + build-system = [ + setuptools + ]; + + pythonImportsCheck = [ + "pytinyrenderer" + ]; + + # There are no tests in the pypi archive + doCheck = false; + + meta = { + description = "Python bindings for Tiny Renderer"; + homepage = "https://pypi.org/project/pytinyrenderer/"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ nim65s ]; + }; +} |
