Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 88 lines 1.6 kB view raw
1{ 2 mkDerivation, 3 lib, 4 fetchurl, 5 cmake, 6 extra-cmake-modules, 7 qtwebengine, 8 qtscript, 9 grantlee, 10 qtxmlpatterns, 11 kxmlgui, 12 kwallet, 13 kparts, 14 kdoctools, 15 kjobwidgets, 16 kdesignerplugin, 17 kiconthemes, 18 knewstuff, 19 sqlcipher, 20 qca-qt5, 21 kactivities, 22 karchive, 23 kguiaddons, 24 knotifyconfig, 25 krunner, 26 kwindowsystem, 27 libofx, 28 shared-mime-info, 29 qtquickcontrols2, 30}: 31 32mkDerivation rec { 33 pname = "skrooge"; 34 version = "25.4.0"; 35 36 src = fetchurl { 37 url = "mirror://kde/stable/skrooge/skrooge-${version}.tar.xz"; 38 hash = "sha256-HNui/SjCN9LWxUxHDae59n5qPIwYWHX1uFSlVnwBlL8="; 39 }; 40 41 nativeBuildInputs = [ 42 cmake 43 extra-cmake-modules 44 kdoctools 45 shared-mime-info 46 ]; 47 48 buildInputs = [ 49 qtwebengine 50 qtscript 51 grantlee 52 kxmlgui 53 kwallet 54 kparts 55 qtxmlpatterns 56 kjobwidgets 57 kdesignerplugin 58 kiconthemes 59 knewstuff 60 sqlcipher 61 qca-qt5 62 kactivities 63 karchive 64 kguiaddons 65 knotifyconfig 66 krunner 67 kwindowsystem 68 libofx 69 qtquickcontrols2 70 ]; 71 72 # SKG_DESIGNER must be used to generate the needed library for QtDesigner. 73 # This is needed ONLY for developers. So NOT NEEDED for end user. 74 # Source: https://forum.kde.org/viewtopic.php?f=210&t=143375#p393675 75 cmakeFlags = [ 76 "-DSKG_DESIGNER=OFF" 77 "-DSKG_WEBENGINE=ON" 78 "-DSKG_WEBKIT=OFF" 79 "-DBUILD_TESTS=ON" 80 ]; 81 82 meta = with lib; { 83 description = "Personal finances manager, powered by KDE"; 84 license = with licenses; [ gpl3 ]; 85 maintainers = with maintainers; [ joko ]; 86 homepage = "https://skrooge.org/"; 87 }; 88}