2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
mkDerivation,
|
|
|
|
lib,
|
|
|
|
fetchFromGitLab,
|
|
|
|
libsForQt5,
|
|
|
|
cmake,
|
2020-10-11 12:50:04 +00:00
|
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "ldutils";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.15";
|
2020-10-11 12:50:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "ldutils-projects";
|
|
|
|
repo = pname;
|
2024-05-15 15:35:15 +00:00
|
|
|
rev = "4fc416f694ce888c5bd4c4432a7730bb6260475c";
|
|
|
|
#rev = "v_${version}";
|
|
|
|
sha256 = "sha256-UMDayvz9RlcR4HVJNn7tN4FKbiKAFRSPaK0osA6OGTI=";
|
2020-10-11 12:50:04 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
buildInputs = with libsForQt5.qt5; [
|
2020-10-11 12:50:04 +00:00
|
|
|
qtcharts
|
|
|
|
qtsvg
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2024-05-15 15:35:15 +00:00
|
|
|
cmake
|
2020-10-11 12:50:04 +00:00
|
|
|
];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
qmakeFlags = ["ldutils.pro"];
|
2022-01-13 20:06:32 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
LDUTILS_LIB = placeholder "out";
|
|
|
|
LDUTILS_INCLUDE = placeholder "out";
|
2020-10-11 12:50:04 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Headers and link library for other ldutils projects";
|
|
|
|
homepage = "https://gitlab.com/ldutils-projects/ldutils";
|
|
|
|
license = licenses.gpl3Plus;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with maintainers; [sohalt];
|
2020-10-11 12:50:04 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|