Loading pkgs/development/python-modules/netbox-plugin-prometheus-sd/default.nix +2 −4 Original line number Diff line number Diff line Loading @@ -10,19 +10,17 @@ buildPythonPackage rec { pname = "netbox-plugin-prometheus-sd"; version = "1.2.0"; version = "1.3.0"; pyproject = true; src = fetchFromGitHub { owner = "FlxPeters"; repo = "netbox-plugin-prometheus-sd"; tag = "v${version}"; hash = "sha256-L5kJnaY9gKpsWAgwkjVRQQauL2qViinqk7rHLXTVzT4="; hash = "sha256-2SVfWkw6/AkDihWp9chU8rTqLiSn9ax4uLaK1xydfGM="; }; 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" ''; Loading Loading
pkgs/development/python-modules/netbox-plugin-prometheus-sd/default.nix +2 −4 Original line number Diff line number Diff line Loading @@ -10,19 +10,17 @@ buildPythonPackage rec { pname = "netbox-plugin-prometheus-sd"; version = "1.2.0"; version = "1.3.0"; pyproject = true; src = fetchFromGitHub { owner = "FlxPeters"; repo = "netbox-plugin-prometheus-sd"; tag = "v${version}"; hash = "sha256-L5kJnaY9gKpsWAgwkjVRQQauL2qViinqk7rHLXTVzT4="; hash = "sha256-2SVfWkw6/AkDihWp9chU8rTqLiSn9ax4uLaK1xydfGM="; }; 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" ''; Loading