mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 05:29:20 +03:00
ubports-click: Get rid of externally-supplied self
This commit is contained in:
parent
65121a8080
commit
5f3da539cc
1 changed files with 144 additions and 139 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue