python3Packages.netbox-plugin-prometheus-sd: 1.2.0 -> 1.3.0

Changelog: https://github.com/FlxPeters/netbox-plugin-prometheus-sd/releases/tag/v1.3.0
This commit is contained in:
Fabian Affolter
2026-04-09 12:03:43 +02:00
parent 10290c32ad
commit ce05a72d3b
@@ -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"
'';