Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 589 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "dtkcommon"; 10 version = "5.7.13"; 11 12 src = fetchFromGitHub { 13 owner = "linuxdeepin"; 14 repo = pname; 15 rev = version; 16 hash = "sha256-yQKkqHL5W2mHPE3zchAwtWUH55zrCEJwcVWCheC0rW4="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 dontWrapQtApps = true; 22 23 meta = with lib; { 24 description = "Public project for building DTK Library"; 25 homepage = "https://github.com/linuxdeepin/dtkcommon"; 26 license = licenses.gpl3Plus; 27 platforms = platforms.linux; 28 teams = [ teams.deepin ]; 29 }; 30}