Commit 5f3da539 authored by OPNA2608's avatar OPNA2608
Browse files

ubports-click: Get rid of externally-supplied self

parent 65121a80
Loading
Loading
Loading
Loading
+144 −139
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@
  lib,
  stdenv,
  testers,
  ubports-click,
  autoreconfHook,
  dbus,
  dbus-test-runner,
@@ -23,7 +22,8 @@
  wrapGAppsHook3,
}:

python3Packages.buildPythonApplication rec {
let
  self = python3Packages.buildPythonApplication rec {
    pname = "click";
    version = "0.5.2";
    format = "other";
@@ -146,9 +146,6 @@ python3Packages.buildPythonApplication rec {
    '';

    passthru = {
    tests.pkg-config = testers.hasPkgConfigModules {
      package = ubports-click;
    };
      updateScript = gitUpdater { };
    };

@@ -166,4 +163,12 @@ python3Packages.buildPythonApplication rec {
        "click-0.4"
      ];
    };
  };
in
self // {
  passthru = self.passthru // {
    tests.pkg-config = testers.hasPkgConfigModules {
      package = self;
    };
  };
}