at master 855 B view raw
1{ 2 mkDerivation, 3 lib, 4 fetchFromGitLab, 5 libsForQt5, 6 cmake, 7}: 8mkDerivation { 9 pname = "ldutils"; 10 version = "1.15"; 11 12 src = fetchFromGitLab { 13 owner = "ldutils-projects"; 14 repo = "ldutils"; 15 rev = "4fc416f694ce888c5bd4c4432a7730bb6260475c"; 16 #rev = "v_${version}"; 17 hash = "sha256-UMDayvz9RlcR4HVJNn7tN4FKbiKAFRSPaK0osA6OGTI="; 18 }; 19 20 buildInputs = with libsForQt5.qt5; [ 21 qtcharts 22 qtsvg 23 ]; 24 25 nativeBuildInputs = [ 26 cmake 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}