summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pycollada/default.nix
blob: 0ba716114fa645818b2962a06fc7970c296166d6 (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
37
38
39
40
41
42
43
44
{
  lib,
  fetchPypi,
  buildPythonPackage,
  setuptools,
  numpy,
  python-dateutil,
}:

buildPythonPackage rec {
  pname = "pycollada";
  version = "0.9.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-fKEiZ74KK5PkldYDbmsnQCOpRX3tZBlU6wxHDv4VPW4=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    numpy
    python-dateutil
  ];

  # Some tests fail because they refer to test data files that don't exist
  # (upstream packaging issue)
  doCheck = false;

  pythonImportsCheck = [
    "collada"
  ];

  meta = {
    description = "Python library for reading and writing collada documents";
    homepage = "http://pycollada.github.io/";
    license = lib.licenses.bsd3;
    platforms = with lib.platforms; linux ++ darwin;
    maintainers = with lib.maintainers; [ bjornfor ];
  };
}