File tree Expand file tree Collapse file tree 2 files changed +45
-49
lines changed Expand file tree Collapse file tree 2 files changed +45
-49
lines changed Original file line number Diff line number Diff line change 1- { lib
2- , stdenv
3- , fetchurl
4- , cmake
5- , extra-cmake-modules
6- , qttools
7- , wrapQtAppsHook
8- , exiv2
9- , graphicsmagick
10- , libarchive
11- , libraw
12- , mpv
13- , poppler
14- , pugixml
15- , qtbase
16- , qtcharts
17- , qtdeclarative
18- , qtimageformats
19- , qtlocation
20- , qtmultimedia
21- , qtpositioning
22- , qtsvg
23- , zxing-cpp
24- , qtwayland
1+ {
2+ lib ,
3+ stdenv ,
4+ fetchurl ,
5+ cmake ,
6+ extra-cmake-modules ,
7+ exiv2 ,
8+ graphicsmagick ,
9+ libarchive ,
10+ libraw ,
11+ mpv ,
12+ pugixml ,
13+ qt6 ,
14+ qt6Packages ,
15+ zxing-cpp ,
2516} :
2617
2718stdenv . mkDerivation rec {
2819 pname = "photoqt" ;
29- version = "4.5 " ;
20+ version = "4.6 " ;
3021
3122 src = fetchurl {
3223 url = "https://photoqt.org/pkgs/photoqt-${ version } .tar.gz" ;
33- hash = "sha256-QFziMNRhiM4LaNJ8RkJ0iCq/8J82wn0F594qJeSN3Lw =" ;
24+ hash = "sha256-5VbGMJ1B9yDbTiri7SZ+r+c9LdfG/C1c0/01QBUvbCY =" ;
3425 } ;
3526
3627 nativeBuildInputs = [
3728 cmake
3829 extra-cmake-modules
39- qttools
40- wrapQtAppsHook
30+ qt6 . qttools
31+ qt6 . wrapQtAppsHook
4132 ] ;
4233
43- buildInputs = [
44- exiv2
45- graphicsmagick
46- libarchive
47- libraw
48- mpv
49- poppler
50- pugixml
51- qtbase
52- qtcharts
53- qtdeclarative
54- qtimageformats
55- qtlocation
56- qtmultimedia
57- qtpositioning
58- qtsvg
59- zxing-cpp
60- ] ++ lib . optionals stdenv . isLinux [
61- qtwayland
62- ] ;
34+ buildInputs =
35+ [
36+ exiv2
37+ graphicsmagick
38+ libarchive
39+ libraw
40+ pugixml
41+ qt6 . qtbase
42+ qt6 . qtcharts
43+ qt6 . qtdeclarative
44+ qt6 . qtimageformats
45+ qt6 . qtlocation
46+ qt6 . qtmultimedia
47+ qt6 . qtpositioning
48+ qt6 . qtsvg
49+ qt6Packages . poppler
50+ zxing-cpp
51+ ]
52+ ++ lib . optionals stdenv . isLinux [
53+ mpv
54+ qt6 . qtwayland
55+ ] ;
6356
6457 cmakeFlags = [
6558 ( lib . cmakeBool "DEVIL" false )
6659 ( lib . cmakeBool "CHROMECAST" false )
6760 ( lib . cmakeBool "FREEIMAGE" false )
6861 ( lib . cmakeBool "IMAGEMAGICK" false )
62+ ( lib . cmakeBool "VIDEO_MPV" ( ! stdenv . isDarwin ) )
6963 ] ;
7064
7165 env . MAGICK_LOCATION = "${ graphicsmagick } /include/GraphicsMagick" ;
Original file line number Diff line number Diff line change @@ -32891,7 +32891,9 @@ with pkgs;
3289132891
3289232892 phantomsocks = callPackage ../tools/networking/phantomsocks { };
3289332893
32894- photoqt = qt6Packages.callPackage ../applications/graphics/photoqt { };
32894+ photoqt = callPackage ../by-name/ph/photoqt/package.nix {
32895+ stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
32896+ };
3289532897
3289632898 photoflare = libsForQt5.callPackage ../applications/graphics/photoflare { };
3289732899
You can’t perform that action at this time.
0 commit comments