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