Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ mkDerivation 2, lib 3, fetchFromGitLab 4, qtcharts 5, qtsvg 6, qmake 7}: 8 9mkDerivation rec { 10 pname = "ldutils"; 11 version = "1.10"; 12 13 src = fetchFromGitLab { 14 owner = "ldutils-projects"; 15 repo = pname; 16 rev = "v_${version}"; 17 sha256 = "sha256-fP+tZY+ayaeuxPvywO/639sNE+IwrxaEJ245q9HTOCU="; 18 }; 19 20 buildInputs = [ 21 qtcharts 22 qtsvg 23 ]; 24 25 nativeBuildInputs = [ 26 qmake 27 ]; 28 29 qmakeFlags = [ "ldutils.pro" ]; 30 31 LDUTILS_LIB=placeholder "out"; 32 LDUTILS_INCLUDE=placeholder "out"; 33 34 meta = with lib; { 35 description = "Headers and link library for other ldutils projects"; 36 homepage = "https://gitlab.com/ldutils-projects/ldutils"; 37 license = licenses.gpl3Plus; 38 maintainers = with maintainers; [ sohalt ]; 39 platforms = platforms.linux; 40 }; 41}