mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +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,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
testers,
|
testers,
|
||||||
ubports-click,
|
|
||||||
autoreconfHook,
|
autoreconfHook,
|
||||||
dbus,
|
dbus,
|
||||||
dbus-test-runner,
|
dbus-test-runner,
|
||||||
|
@ -23,7 +22,8 @@
|
||||||
wrapGAppsHook3,
|
wrapGAppsHook3,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
let
|
||||||
|
self = python3Packages.buildPythonApplication rec {
|
||||||
pname = "click";
|
pname = "click";
|
||||||
version = "0.5.2";
|
version = "0.5.2";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
@ -146,9 +146,6 @@ python3Packages.buildPythonApplication rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests.pkg-config = testers.hasPkgConfigModules {
|
|
||||||
package = ubports-click;
|
|
||||||
};
|
|
||||||
updateScript = gitUpdater { };
|
updateScript = gitUpdater { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -166,4 +163,12 @@ python3Packages.buildPythonApplication rec {
|
||||||
"click-0.4"
|
"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