Unverified Commit 8504b89e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.rich-click: 1.9.5 -> 1.9.7 (#507856)

parents 387a397f 53756dd5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  django,
  fetchFromGitHub,
  netaddr,
  netbox,
  numpy,
  requests,
  setuptools,
}:

buildPythonPackage rec {
  pname = "netbox-interface-synchronization";
  version = "4.1.7";
@@ -24,6 +27,8 @@ buildPythonPackage rec {
  dependencies = [
    django
    netaddr
    requests
    numpy
  ];

  # netbox is required for the pythonImportsCheck; plugin does not provide unit tests
+6 −8
Original line number Diff line number Diff line
@@ -8,21 +8,19 @@
  poetry-core,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  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=";
    tag = "v${finalAttrs.version}";
    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"
  '';
@@ -45,8 +43,8 @@ buildPythonPackage rec {
  meta = {
    description = "Netbox plugin to provide Netbox entires to Prometheus HTTP service discovery";
    homepage = "https://github.com/FlxPeters/netbox-plugin-prometheus-sd";
    changelog = "https://github.com/FlxPeters/netbox-plugin-prometheus-sd/releases/tag/${src.tag}";
    changelog = "https://github.com/FlxPeters/netbox-plugin-prometheus-sd/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ xanderio ];
  };
}
})
+2 −2
Original line number Diff line number Diff line
@@ -10,14 +10,14 @@

buildPythonPackage rec {
  pname = "rich-click";
  version = "1.9.5";
  version = "1.9.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ewels";
    repo = "rich-click";
    tag = "v${version}";
    hash = "sha256-VSaPSC49icIB4z3ZPHtedh2gXkYBIODrG362T++i0Eo=";
    hash = "sha256-HT82Dk3dYNMVU4lKJodKtn2KfEH7HUAORpa2RKSmg68=";
  };

  build-system = [ setuptools ];