nixpkgs-suyu/pkgs/development/python-modules/yt/default.nix
Linus Heckemann 5aa4b19946 treewide: mark some broken packages as broken
Refs:
e6754980264fe927320d5ff2dbd24ca4fac9a160
1e9cc5b9844ef603fe160e9f671178f96200774f
793a2fe1e8bb886ca2096c5904e1193dc3268b6d
c19cf65261639f749012454932a532aa7c681e4b
f6544d618f30fae0bc4798c4387a8c7c9c047a7c
2019-10-08 17:14:26 +02:00

54 lines
851 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, matplotlib
, setuptools
, sympy
, numpy
, ipython
, hdf5
, nose
, cython
, python
, isPy3k
}:
buildPythonPackage rec {
pname = "yt";
version = "3.5.1";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "c8ef8eceb934dc189d63dc336109fad3002140a9a32b19f38d1812d5d5a30d71";
};
buildInputs = [
cython
];
propagatedBuildInputs = [
matplotlib
setuptools
sympy
numpy
ipython
hdf5
];
checkInputs = [
nose
];
checkPhase = ''
cd $out/${python.sitePackages}
HOME=$(mktemp -d) nosetests yt
'';
meta = with lib; {
description = "An analysis and visualization toolkit for volumetric data";
homepage = https://github.com/yt-project/yt;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}