33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
37 lines
758 B
Nix
37 lines
758 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, numpy
|
|
, scipy
|
|
, tables
|
|
, pandas
|
|
, nose
|
|
, configparser
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flammkuchen";
|
|
version = "1.0.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-KtMGQftoYVNNMtfYeYiaQyMLAySpf9YXLMxj+e/CV5I=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
nose
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
scipy
|
|
tables
|
|
pandas
|
|
] ++ lib.optionals isPy27 [ configparser ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/portugueslab/flammkuchen";
|
|
description = "Flexible HDF5 saving/loading library forked from deepdish (University of Chicago) and maintained by the Portugues lab";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ tbenst ];
|
|
};
|
|
}
|