2019-10-31 20:54:43 +00:00
|
|
|
{ lib, pkgs, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, numpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lightparam";
|
2020-08-16 18:31:06 +01:00
|
|
|
version = "0.4.6";
|
2019-10-31 20:54:43 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
format = "wheel";
|
|
|
|
python = "py3";
|
2020-08-16 18:31:06 +01:00
|
|
|
sha256 = "eca63016524208afb6a06db19baf659e698cce3ae2e57be15b37bc988549c631";
|
2019-10-31 20:54:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/portugueslab/lightparam";
|
|
|
|
description = "Another attempt at parameters in Python";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ tbenst ];
|
|
|
|
};
|
|
|
|
}
|