2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python-slugify,
|
|
|
|
jinja2,
|
|
|
|
setuptools,
|
|
|
|
coverage,
|
|
|
|
}:
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-nvd3";
|
|
|
|
version = "0.15.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "areski";
|
|
|
|
repo = "python-nvd3";
|
|
|
|
rev = "dc8e772597ed72f413b229856fc9a3318e57fcfc";
|
|
|
|
sha256 = "1vjnicszcc9j0rgb58104fk9sry5xad1xli64jana9bkx42c6x1v";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
python-slugify
|
|
|
|
jinja2
|
|
|
|
setuptools
|
|
|
|
];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ coverage ];
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
coverage run --source=nvd3 setup.py test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/areski/python-nvd3";
|
|
|
|
description = "Python Wrapper for NVD3 - It's time for beautiful charts";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "nvd3";
|
2021-07-14 22:03:04 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ivan-tkatchev ];
|
|
|
|
};
|
|
|
|
}
|