Loading pkgs/development/python-modules/drf-extra-fields/default.nix +10 −4 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, django, djangorestframework, fetchFromGitHub, filetype, pillow, psycopg2, pytestCheckHook, pytest-django, pytestCheckHook, pythonAtLeast, setuptools, }: buildPythonPackage rec { Loading @@ -20,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "hipo"; repo = "drf-extra-fields"; rev = "v${version}"; tag = "v${version}"; hash = "sha256-Ym4vnZ/t0ZdSxU53BC0ducJl1YiTygRSWql/35PNbOU"; }; Loading @@ -45,6 +46,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "drf_extra_fields" ]; disabledTests = lib.optionals (pythonAtLeast "3.13") [ # https://github.com/Hipo/drf-extra-fields/issues/210 "test_read_source_with_context" ]; meta = { description = "Extra Fields for Django Rest Framework"; homepage = "https://github.com/Hipo/drf-extra-fields"; Loading pkgs/development/python-modules/mkdocstrings-python/default.nix +10 −2 Original line number Diff line number Diff line { lib, beautifulsoup4, buildPythonPackage, fetchFromGitHub, griffe, inline-snapshot, mkdocs-autorefs, mkdocs-material, mkdocstrings, pdm-backend, Loading @@ -12,7 +15,7 @@ buildPythonPackage rec { pname = "mkdocstrings-python"; version = "1.12.2"; version = "1.13.0"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -21,17 +24,20 @@ buildPythonPackage rec { owner = "mkdocstrings"; repo = "python"; tag = version; hash = "sha256-dc9RXbrwZS/7eAF0BrGS2kJxG62rB5RLxf3yNZ6+g4Q="; hash = "sha256-NgVCKV3AWk4pRT7/+6YGXmKSZETL4ZOWDWGeb/qjdng="; }; build-system = [ pdm-backend ]; dependencies = [ griffe mkdocs-autorefs mkdocstrings ]; nativeCheckInputs = [ beautifulsoup4 inline-snapshot mkdocs-material pytestCheckHook ]; Loading @@ -41,6 +47,8 @@ buildPythonPackage rec { disabledTests = [ # Tests fails with AssertionError "test_windows_root_conversion" # TypeError "test_format_code" ]; meta = with lib; { Loading pkgs/development/python-modules/netbox-plugin-prometheus-sd/default.nix +22 −8 Original line number Diff line number Diff line { lib, buildPythonPackage, django, fetchFromGitHub, poetry-core, netaddr, netbox, poetry-core, pythonOlder, }: buildPythonPackage rec { Loading @@ -11,21 +14,31 @@ buildPythonPackage rec { version = "1.1.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "FlxPeters"; repo = "netbox-plugin-prometheus-sd"; rev = "v${version}"; tag = "v${version}"; hash = "sha256-UtvSkqs2PN3uxCB78hJjh0lZ1WbZGjDpwlKyeAGpiEM="; }; nativeBuildInputs = [ poetry-core ]; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'version = "0.0.0"' 'version = "${version}"' substituteInPlace netbox_prometheus_sd/__init__.py \ --replace-fail "from extras.plugins import PluginConfig" "from netbox.plugins import PluginConfig" ''; build-system = [ poetry-core ]; nativeCheckInputs = [ netbox dependencies = [ django netaddr ]; nativeCheckInputs = [ netbox ]; preFixup = '' export PYTHONPATH=${netbox}/opt/netbox/netbox:$PYTHONPATH ''; Loading @@ -34,7 +47,8 @@ buildPythonPackage rec { meta = with lib; { description = "Netbox plugin to provide Netbox entires to Prometheus HTTP service discovery"; homepage = "https://pypi.org/project/netbox-plugin-prometheus-sd/"; homepage = "https://github.com/FlxPeters/netbox-plugin-prometheus-sd"; changelog = "https://github.com/FlxPeters/netbox-plugin-prometheus-sd/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ xanderio ]; }; Loading Loading
pkgs/development/python-modules/drf-extra-fields/default.nix +10 −4 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, django, djangorestframework, fetchFromGitHub, filetype, pillow, psycopg2, pytestCheckHook, pytest-django, pytestCheckHook, pythonAtLeast, setuptools, }: buildPythonPackage rec { Loading @@ -20,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "hipo"; repo = "drf-extra-fields"; rev = "v${version}"; tag = "v${version}"; hash = "sha256-Ym4vnZ/t0ZdSxU53BC0ducJl1YiTygRSWql/35PNbOU"; }; Loading @@ -45,6 +46,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "drf_extra_fields" ]; disabledTests = lib.optionals (pythonAtLeast "3.13") [ # https://github.com/Hipo/drf-extra-fields/issues/210 "test_read_source_with_context" ]; meta = { description = "Extra Fields for Django Rest Framework"; homepage = "https://github.com/Hipo/drf-extra-fields"; Loading
pkgs/development/python-modules/mkdocstrings-python/default.nix +10 −2 Original line number Diff line number Diff line { lib, beautifulsoup4, buildPythonPackage, fetchFromGitHub, griffe, inline-snapshot, mkdocs-autorefs, mkdocs-material, mkdocstrings, pdm-backend, Loading @@ -12,7 +15,7 @@ buildPythonPackage rec { pname = "mkdocstrings-python"; version = "1.12.2"; version = "1.13.0"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -21,17 +24,20 @@ buildPythonPackage rec { owner = "mkdocstrings"; repo = "python"; tag = version; hash = "sha256-dc9RXbrwZS/7eAF0BrGS2kJxG62rB5RLxf3yNZ6+g4Q="; hash = "sha256-NgVCKV3AWk4pRT7/+6YGXmKSZETL4ZOWDWGeb/qjdng="; }; build-system = [ pdm-backend ]; dependencies = [ griffe mkdocs-autorefs mkdocstrings ]; nativeCheckInputs = [ beautifulsoup4 inline-snapshot mkdocs-material pytestCheckHook ]; Loading @@ -41,6 +47,8 @@ buildPythonPackage rec { disabledTests = [ # Tests fails with AssertionError "test_windows_root_conversion" # TypeError "test_format_code" ]; meta = with lib; { Loading
pkgs/development/python-modules/netbox-plugin-prometheus-sd/default.nix +22 −8 Original line number Diff line number Diff line { lib, buildPythonPackage, django, fetchFromGitHub, poetry-core, netaddr, netbox, poetry-core, pythonOlder, }: buildPythonPackage rec { Loading @@ -11,21 +14,31 @@ buildPythonPackage rec { version = "1.1.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "FlxPeters"; repo = "netbox-plugin-prometheus-sd"; rev = "v${version}"; tag = "v${version}"; hash = "sha256-UtvSkqs2PN3uxCB78hJjh0lZ1WbZGjDpwlKyeAGpiEM="; }; nativeBuildInputs = [ poetry-core ]; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'version = "0.0.0"' 'version = "${version}"' substituteInPlace netbox_prometheus_sd/__init__.py \ --replace-fail "from extras.plugins import PluginConfig" "from netbox.plugins import PluginConfig" ''; build-system = [ poetry-core ]; nativeCheckInputs = [ netbox dependencies = [ django netaddr ]; nativeCheckInputs = [ netbox ]; preFixup = '' export PYTHONPATH=${netbox}/opt/netbox/netbox:$PYTHONPATH ''; Loading @@ -34,7 +47,8 @@ buildPythonPackage rec { meta = with lib; { description = "Netbox plugin to provide Netbox entires to Prometheus HTTP service discovery"; homepage = "https://pypi.org/project/netbox-plugin-prometheus-sd/"; homepage = "https://github.com/FlxPeters/netbox-plugin-prometheus-sd"; changelog = "https://github.com/FlxPeters/netbox-plugin-prometheus-sd/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ xanderio ]; }; Loading