tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
photoqt: use wrapQtProgram
Nikolay Amiantov
9 years ago
d2fec0a9
bac36baf
+4
-8
1 changed file
expand all
collapse all
unified
split
pkgs
applications
graphics
photoqt
default.nix
+4
-8
pkgs/applications/graphics/photoqt/default.nix
···
1
-
{ stdenv, fetchurl, cmake, makeWrapper, exiv2, graphicsmagick
2
, qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools
3
}:
4
5
let
6
version = "1.3";
7
-
qmlPath = stdenv.lib.makeSearchPath "lib/qt5/qml/" [
8
-
qtquickcontrols
9
-
qtdeclarative
10
-
qtmultimedia
11
-
];
12
in
13
stdenv.mkDerivation rec {
14
name = "photoqt-${version}";
···
18
};
19
20
buildInputs = [
21
-
cmake makeWrapper qtbase qtquickcontrols qttools exiv2 graphicsmagick
0
22
];
23
24
preConfigure = ''
···
26
'';
27
28
postInstall = ''
29
-
wrapProgram $out/bin/photoqt --set QML2_IMPORT_PATH "${qmlPath}"
30
'';
31
32
meta = {
···
1
+
{ stdenv, fetchurl, cmake, makeQtWrapper, exiv2, graphicsmagick
2
, qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools
3
}:
4
5
let
6
version = "1.3";
0
0
0
0
0
7
in
8
stdenv.mkDerivation rec {
9
name = "photoqt-${version}";
···
13
};
14
15
buildInputs = [
16
+
cmake makeQtWrapper qtbase qtquickcontrols qttools exiv2 graphicsmagick
17
+
qtmultimedia qtdeclarative
18
];
19
20
preConfigure = ''
···
22
'';
23
24
postInstall = ''
25
+
wrapQtProgram $out/bin/photoqt
26
'';
27
28
meta = {