1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 python-slugify, 6 jinja2, 7 setuptools, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "python-nvd3"; 13 version = "0.16.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "areski"; 18 repo = "python-nvd3"; 19 tag = "v${version}"; 20 hash = "sha256-+J0lHAOjX3hbymjESQ6WpEnly+1Lv9o0ucIpBxTuS6s="; 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 description = "Python Wrapper for NVD3"; 36 homepage = "https://github.com/areski/python-nvd3"; 37 changelog = "https://github.com/areski/python-nvd3/releases/tag/${src.tag}"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ ivan-tkatchev ]; 40 mainProgram = "nvd3"; 41 }; 42}