1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 python-slugify,
6 jinja2,
7 setuptools,
8 pytestCheckHook,
9}:
10
11buildPythonPackage {
12 pname = "python-nvd3";
13 version = "0.15.0";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "areski";
18 repo = "python-nvd3";
19 rev = "dc8e772597ed72f413b229856fc9a3318e57fcfc";
20 sha256 = "1vjnicszcc9j0rgb58104fk9sry5xad1xli64jana9bkx42c6x1v";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 python-slugify
27 jinja2
28 ];
29
30 nativeCheckInputs = [ pytestCheckHook ];
31
32 enabledTestPaths = [ "tests.py" ];
33
34 meta = {
35 homepage = "https://github.com/areski/python-nvd3";
36 description = "Python Wrapper for NVD3 - It's time for beautiful charts";
37 mainProgram = "nvd3";
38 license = lib.licenses.mit;
39 maintainers = [ lib.maintainers.ivan-tkatchev ];
40 };
41}