1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "pytinyrenderer"; 10 version = "0.0.14"; 11 pyproject = true; 12 13 # github has no tags 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-X+20eYUJy5EaA6O8no3o1NWqNrHeUuuHjv7xBLlaPRU="; 17 }; 18 19 build-system = [ 20 setuptools 21 ]; 22 23 pythonImportsCheck = [ 24 "pytinyrenderer" 25 ]; 26 27 # There are no tests in the pypi archive 28 doCheck = false; 29 30 meta = { 31 description = "Python bindings for Tiny Renderer"; 32 homepage = "https://pypi.org/project/pytinyrenderer/"; 33 license = lib.licenses.asl20; 34 maintainers = with lib.maintainers; [ nim65s ]; 35 }; 36}