tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
trimage: migrate to pkgs/by-name
TomaSajt
1 year ago
77cbf2a1
e3893e5c
+14
-14
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
tr
trimage
package.nix
top-level
all-packages.nix
+14
-12
pkgs/applications/graphics/trimage/default.nix
pkgs/by-name/tr/trimage/package.nix
···
1
1
-
{ lib
2
2
-
, stdenv
3
3
-
, fetchFromGitHub
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchFromGitHub,
4
5
5
5
-
, python3
6
6
-
, installShellFiles
7
7
-
, makeWrapper
8
8
-
, wrapQtAppsHook
6
6
+
python3,
7
7
+
installShellFiles,
8
8
+
makeWrapper,
9
9
+
qt5,
9
10
10
10
-
, advancecomp
11
11
-
, jpegoptim
12
12
-
, optipng
13
13
-
, pngcrush
11
11
+
advancecomp,
12
12
+
jpegoptim,
13
13
+
optipng,
14
14
+
pngcrush,
14
15
}:
15
16
16
17
let
17
18
pythonEnv = python3.withPackages (ps: with ps; [ pyqt5 ]);
19
19
+
18
20
binPath = lib.makeBinPath [
19
21
advancecomp
20
22
jpegoptim
···
36
38
nativeBuildInputs = [
37
39
installShellFiles
38
40
makeWrapper
39
39
-
wrapQtAppsHook
41
41
+
qt5.wrapQtAppsHook
40
42
];
41
43
42
44
dontWrapQtApps = true;
-2
pkgs/top-level/all-packages.nix
···
1143
1143
inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreAudio CoreGraphics Foundation IOKit MediaPlayer Security;
1144
1144
};
1145
1145
1146
1146
-
trimage = callPackage ../applications/graphics/trimage { inherit (qt5) wrapQtAppsHook; };
1147
1147
-
1148
1146
ufolint = with python3Packages; toPythonApplication ufolint;
1149
1147
1150
1148
valeronoi = qt6Packages.callPackage ../tools/misc/valeronoi { };