Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.python-nvd3: modernize

+8 -7
+8 -7
pkgs/development/python-modules/python-nvd3/default.nix
··· 8 pytestCheckHook, 9 }: 10 11 - buildPythonPackage rec { 12 pname = "python-nvd3"; 13 version = "0.15.0"; 14 - format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "areski"; ··· 20 sha256 = "1vjnicszcc9j0rgb58104fk9sry5xad1xli64jana9bkx42c6x1v"; 21 }; 22 23 - propagatedBuildInputs = [ 24 python-slugify 25 jinja2 26 - setuptools 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pytestFlagsArray = [ "tests.py" ]; 32 33 - meta = with lib; { 34 homepage = "https://github.com/areski/python-nvd3"; 35 description = "Python Wrapper for NVD3 - It's time for beautiful charts"; 36 mainProgram = "nvd3"; 37 - license = licenses.mit; 38 - maintainers = [ maintainers.ivan-tkatchev ]; 39 }; 40 }
··· 8 pytestCheckHook, 9 }: 10 11 + buildPythonPackage { 12 pname = "python-nvd3"; 13 version = "0.15.0"; 14 + pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "areski"; ··· 20 sha256 = "1vjnicszcc9j0rgb58104fk9sry5xad1xli64jana9bkx42c6x1v"; 21 }; 22 23 + build-system = [ setuptools ]; 24 + 25 + dependencies = [ 26 python-slugify 27 jinja2 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pytestFlagsArray = [ "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 }