Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 69 lines 1.5 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 fetchpatch, 6 cmake, 7 extra-cmake-modules, 8 pkg-config, 9 dtkwidget, 10 dde-qt-dbus-factory, 11 qt5integration, 12 qt5platform-plugins, 13 wayland, 14 wayland-scanner, 15 xorg, 16 libsForQt5, 17}: 18 19stdenv.mkDerivation (finalAttrs: { 20 pname = "dde-tray-loader"; 21 version = "1.0.9"; 22 23 src = fetchFromGitHub { 24 owner = "linuxdeepin"; 25 repo = "dde-tray-loader"; 26 rev = finalAttrs.version; 27 hash = "sha256-3rmLQRGtBLASr0VSsIfGP0R9HDxFlea+iNbVjkqKTVg="; 28 }; 29 30 patches = [ 31 (fetchpatch { 32 name = "remove-useless-function.patch"; 33 url = "https://github.com/linuxdeepin/dde-tray-loader/commit/cf85f68db52472a0291bbbc3c298d7a2b701e4bc.patch"; 34 hash = "sha256-ks7Rg5kLQvo03XKbfQaqu/heP2yoVEbNO6UhDv99JBY="; 35 }) 36 ]; 37 38 nativeBuildInputs = [ 39 cmake 40 extra-cmake-modules 41 pkg-config 42 libsForQt5.wrapQtAppsHook 43 libsForQt5.qttools 44 wayland-scanner 45 ]; 46 47 buildInputs = [ 48 dtkwidget 49 dde-qt-dbus-factory 50 qt5integration 51 qt5platform-plugins 52 libsForQt5.qtbase 53 libsForQt5.qtsvg 54 libsForQt5.qtwayland 55 libsForQt5.networkmanager-qt 56 libsForQt5.libdbusmenu 57 wayland 58 xorg.libXcursor 59 xorg.libXtst 60 ]; 61 62 meta = { 63 description = "Tray plugins that integrated into task bar"; 64 homepage = "https://github.com/linuxdeepin/dde-tray-loader"; 65 license = with lib.licenses; [ gpl3Plus ]; 66 platforms = lib.platforms.linux; 67 maintainers = with lib.maintainers; [ rewine ]; 68 }; 69})