Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 meson, 6 ninja, 7 qt6, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "dfl-utils"; 12 version = "0.3.0"; 13 14 src = fetchFromGitLab { 15 owner = "desktop-frameworks"; 16 repo = "utils"; 17 rev = "v${finalAttrs.version}"; 18 hash = "sha256-XiOLVx9X2i+IWORde05P2cFulQRU/EQErbyr5fgZDY4="; 19 }; 20 21 nativeBuildInputs = [ 22 meson 23 ninja 24 ]; 25 26 buildInputs = [ 27 qt6.qtbase 28 ]; 29 30 dontWrapQtApps = true; 31 32 outputs = [ 33 "out" 34 "dev" 35 ]; 36 37 meta = { 38 description = "Some utilities for DFL"; 39 homepage = "https://gitlab.com/desktop-frameworks/utils"; 40 changelog = "https://gitlab.com/desktop-frameworks/utils/-/blob/${finalAttrs.src.rev}/ChangeLog"; 41 license = lib.licenses.gpl3Only; 42 maintainers = with lib.maintainers; [ arthsmn ]; 43 platforms = lib.platforms.linux; 44 }; 45})