ubports-click: Get rid of externally-supplied self

This commit is contained in:
OPNA2608 2024-12-24 11:11:45 +01:00
parent 65121a8080
commit 5f3da539cc

View file

@ -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;
};
};
}