summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytinyrenderer/default.nix
blob: c2dc075095de57fd1db45d948e9a1ac16c010818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 ];
  };
}