Unverified Commit 5955d841 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #336542 from SuperSandro2000/pyeapi

python312Packages.pyeapi: fix re-tag
parents 03c133a6 9b6d74f5
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  setuptools,
  mock,
  netaddr,
@@ -20,19 +19,10 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "arista-eosplus";
    repo = "pyeapi";
    rev = "refs/tags/v.${version}";
    hash = "sha256-KDtL+ed9t9QoHVSVR2RQ+1Pll6CJuPrCamNem3keZRo=";
    rev = "refs/tags/v${version}";
    hash = "sha256-eGNBQSnYMC9YVCw5mBRH6XRq139AcqFm6HnO2FUzLEE=";
  };

  patches = [
    # Replace imp, https://github.com/arista-eosplus/pyeapi/pull/295
    (fetchpatch {
      name = "replace-imp.patch";
      url = "https://github.com/arista-eosplus/pyeapi/commit/1f2d8e1fa61566082ccb11a1a17e0f3d8a0c89df.patch";
      hash = "sha256-ONviRU6eUUZ+TTJ4F41ZXqavW7RIi1MBO7s7OsnWknk=";
    })
  ];

  build-system = [ setuptools ];

  dependencies = [ netaddr ];
@@ -49,7 +39,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Client for Arista eAPI";
    homepage = "https://github.com/arista-eosplus/pyeapi";
    changelog = "https://github.com/arista-eosplus/pyeapi/releases/tag/v.${version}";
    changelog = "https://github.com/arista-eosplus/pyeapi/releases/tag/v${version}";
    license = licenses.bsd3;
    maintainers = with maintainers; [ astro ];
  };