python3Packages.python-nvd3: init at 0.15.0

This commit is contained in:
Ivan Tkachev 2021-07-09 11:17:22 +03:00
parent f41d6886ee
commit f6d7ad53c4
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchFromGitHub, python-slugify, jinja2, setuptools, coverage }:
buildPythonPackage rec {
pname = "python-nvd3";
version = "0.15.0";
src = fetchFromGitHub {
owner = "areski";
repo = "python-nvd3";
rev = "dc8e772597ed72f413b229856fc9a3318e57fcfc";
sha256 = "1vjnicszcc9j0rgb58104fk9sry5xad1xli64jana9bkx42c6x1v";
};
propagatedBuildInputs = [ python-slugify jinja2 setuptools ];
checkInputs = [ coverage ];
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";
license = licenses.mit;
maintainers = [ maintainers.ivan-tkatchev ];
};
}

View File

@ -4888,6 +4888,8 @@ in {
nvchecker = callPackage ../development/python-modules/nvchecker { };
python-nvd3 = callPackage ../development/python-modules/python-nvd3 { };
nwdiag = callPackage ../development/python-modules/nwdiag { };
oath = callPackage ../development/python-modules/oath { };