Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 55 lines 1.1 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6 pkg-config, 7 qt6Packages, 8 qt6integration, 9 qt6platform-plugins, 10 dtk6declarative, 11 dde-shell, 12}: 13 14stdenv.mkDerivation rec { 15 pname = "dde-launchpad"; 16 version = "1.0.8"; 17 18 src = fetchFromGitHub { 19 owner = "linuxdeepin"; 20 repo = pname; 21 rev = version; 22 hash = "sha256-2arO1WSILY5TVPBvdyhttssddwhMYIBcCGq/pW/DnB0="; 23 }; 24 25 nativeBuildInputs = [ 26 cmake 27 pkg-config 28 qt6Packages.qttools 29 qt6Packages.wrapQtAppsHook 30 ]; 31 32 buildInputs = [ 33 qt6integration 34 qt6platform-plugins 35 dtk6declarative 36 dde-shell 37 ] 38 ++ (with qt6Packages; [ 39 qtbase 40 qtsvg 41 qtwayland 42 appstream-qt 43 ]); 44 45 cmakeFlags = [ "-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user" ]; 46 47 meta = { 48 description = "'launcher' or 'start menu' component for DDE"; 49 mainProgram = "dde-launchpad"; 50 homepage = "https://github.com/linuxdeepin/dde-launchpad"; 51 license = lib.licenses.gpl3Plus; 52 platforms = lib.platforms.linux; 53 teams = [ lib.teams.deepin ]; 54 }; 55}