Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 48 lines 889 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6 pkg-config, 7 dde-qt-dbus-factory, 8 dtkwidget, 9 libsForQt5, 10 qt5integration, 11 gtest, 12}: 13 14stdenv.mkDerivation rec { 15 pname = "dde-widgets"; 16 version = "6.0.23"; 17 18 src = fetchFromGitHub { 19 owner = "linuxdeepin"; 20 repo = pname; 21 rev = version; 22 hash = "sha256-aeWQdWi1mMche7AJhAvchRXu89hiZ+CM/RR9HvvbXTw="; 23 }; 24 25 nativeBuildInputs = [ 26 cmake 27 pkg-config 28 dde-qt-dbus-factory 29 libsForQt5.wrapQtAppsHook 30 ]; 31 32 buildInputs = [ 33 libsForQt5.qtbase 34 libsForQt5.qtx11extras 35 dtkwidget 36 qt5integration 37 gtest 38 ]; 39 40 meta = with lib; { 41 description = "Desktop widgets service/implementation for DDE"; 42 mainProgram = "dde-widgets"; 43 homepage = "https://github.com/linuxdeepin/dde-widgets"; 44 license = licenses.gpl3Plus; 45 platforms = platforms.linux; 46 teams = [ teams.deepin ]; 47 }; 48}