Skip to content

Commit 65121a8

Browse files
committed
ubports-click: Migrate to by-pkgs
1 parent 774cfbe commit 65121a8

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed
Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
buildPythonApplication,
32
fetchFromGitLab,
43
fetchpatch,
54
gitUpdater,
@@ -19,17 +18,12 @@
1918
perl,
2019
pkg-config,
2120
properties-cpp,
22-
pygobject3,
23-
python-apt,
24-
python-debian,
25-
setuptools,
26-
six,
27-
unittestCheckHook,
21+
python3Packages,
2822
vala,
2923
wrapGAppsHook3,
3024
}:
3125

32-
buildPythonApplication rec {
26+
python3Packages.buildPythonApplication rec {
3327
pname = "click";
3428
version = "0.5.2";
3529
format = "other";
@@ -93,7 +87,7 @@ buildPythonApplication rec {
9387
properties-cpp
9488
];
9589

96-
propagatedBuildInputs = [
90+
propagatedBuildInputs = with python3Packages; [
9791
python-debian
9892
pygobject3
9993
setuptools
@@ -102,10 +96,10 @@ buildPythonApplication rec {
10296
nativeCheckInputs = [
10397
dbus
10498
dpkg
105-
unittestCheckHook
99+
python3Packages.unittestCheckHook
106100
];
107101

108-
checkInputs = [
102+
checkInputs = with python3Packages; [
109103
python-apt
110104
six
111105
];

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6957,8 +6957,6 @@ with pkgs;
69576957
llvmPackages = llvmPackages_18;
69586958
};
69596959

6960-
ubports-click = python3Packages.callPackage ../development/tools/click { };
6961-
69626960
urweb = callPackage ../development/compilers/urweb {
69636961
icu = icu67;
69646962
};

0 commit comments

Comments
 (0)