Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 649 B view raw
1{ 2 lib, 3 mkKdeDerivation, 4 fetchFromGitLab, 5 mpv-unwrapped, 6 qtdeclarative, 7 qtbase, 8}: 9 10mkKdeDerivation rec { 11 pname = "mpvqt"; 12 version = "1.1.1"; 13 14 src = fetchFromGitLab { 15 domain = "invent.kde.org"; 16 owner = "libraries"; 17 repo = "mpvqt"; 18 tag = "v${version}"; 19 hash = "sha256-qscubUiej/OqQI+V9gxQb7eVa3L2FJ5koqgXFoBw8tU="; 20 }; 21 22 extraBuildInputs = [ qtdeclarative ]; 23 24 extraPropagatedBuildInputs = [ mpv-unwrapped ]; 25 26 extraCmakeFlags = [ "-DQt6_DIR=${qtbase}/lib/cmake/Qt6" ]; 27 28 meta.license = with lib.licenses; [ 29 bsd2 30 bsd3 31 cc-by-sa-40 32 cc0 33 lgpl21Only 34 lgpl3Only 35 lgpl3Plus 36 mit 37 ]; 38}