36 lines
758 B
Nix
36 lines
758 B
Nix
|
{
|
||
|
lib,
|
||
|
fetchPypi,
|
||
|
buildPythonPackage,
|
||
|
numpy,
|
||
|
python-dateutil,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "pycollada";
|
||
|
version = "0.8";
|
||
|
format = "setuptools";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
hash = "sha256-86N1nMTOwdWekyqtdDmdvPVB0YhiqtkDx3AEDaQq8g4=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
numpy
|
||
|
python-dateutil
|
||
|
];
|
||
|
|
||
|
# Some tests fail because they refer to test data files that don't exist
|
||
|
# (upstream packaging issue)
|
||
|
doCheck = false;
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Python library for reading and writing collada documents";
|
||
|
homepage = "http://pycollada.github.io/";
|
||
|
license = licenses.bsd3;
|
||
|
platforms = with platforms; linux ++ darwin;
|
||
|
maintainers = with maintainers; [ bjornfor ];
|
||
|
};
|
||
|
}
|