2019-10-31 21:00:29 +00:00
|
|
|
{ lib, pkgs, buildPythonPackage, fetchPypi, isPy27
|
2019-10-31 20:53:32 +00:00
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, tables
|
|
|
|
, pandas
|
|
|
|
, nose
|
2019-10-31 21:00:29 +00:00
|
|
|
, configparser
|
2019-10-31 20:53:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flammkuchen";
|
2020-05-09 10:01:47 +00:00
|
|
|
version = "0.9.2";
|
2019-10-31 20:53:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 10:01:47 +00:00
|
|
|
sha256 = "f249fe5bf85f717d3836e0db6fa9443a8a43101ce07704715b42251c44fc968e";
|
2019-10-31 20:53:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
tables
|
|
|
|
pandas
|
2019-10-31 21:00:29 +00:00
|
|
|
] ++ lib.optionals isPy27 [ configparser ];
|
2019-10-31 20:53:32 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|