567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
42 lines
857 B
Nix
42 lines
857 B
Nix
{
|
|
mkDerivation,
|
|
lib,
|
|
fetchFromGitLab,
|
|
libsForQt5,
|
|
cmake,
|
|
}:
|
|
mkDerivation {
|
|
pname = "ldutils";
|
|
version = "1.15";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "ldutils-projects";
|
|
repo = "ldutils";
|
|
rev = "4fc416f694ce888c5bd4c4432a7730bb6260475c";
|
|
#rev = "v_${version}";
|
|
hash = "sha256-UMDayvz9RlcR4HVJNn7tN4FKbiKAFRSPaK0osA6OGTI=";
|
|
};
|
|
|
|
buildInputs = with libsForQt5.qt5; [
|
|
qtcharts
|
|
qtsvg
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
qmakeFlags = [ "ldutils.pro" ];
|
|
|
|
LDUTILS_LIB = placeholder "out";
|
|
LDUTILS_INCLUDE = placeholder "out";
|
|
|
|
meta = {
|
|
description = "Headers and link library for other ldutils projects";
|
|
homepage = "https://gitlab.com/ldutils-projects/ldutils";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ sohalt ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|