3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/ldutils/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
777 B
Nix
Raw Normal View History

2020-09-25 00:04:24 +01:00
{ mkDerivation
, lib
, fetchFromGitLab
, qtcharts
, qtsvg
, qmake
}:
mkDerivation rec {
pname = "ldutils";
2021-05-20 08:58:10 +01:00
version = "1.10";
2020-09-25 00:04:24 +01:00
src = fetchFromGitLab {
owner = "ldutils-projects";
repo = pname;
rev = "v_${version}";
2021-05-20 08:58:10 +01:00
sha256 = "sha256-fP+tZY+ayaeuxPvywO/639sNE+IwrxaEJ245q9HTOCU=";
2020-09-25 00:04:24 +01:00
};
buildInputs = [
qtcharts
qtsvg
];
nativeBuildInputs = [
qmake
];
2021-05-20 08:58:10 +01:00
qmakeFlags = [ "ldutils.pro" ];
2020-09-25 00:04:24 +01:00
LDUTILS_LIB=placeholder "out";
LDUTILS_INCLUDE=placeholder "out";
meta = with lib; {
description = "Headers and link library for other ldutils projects";
homepage = "https://gitlab.com/ldutils-projects/ldutils";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ sohalt ];
platforms = platforms.linux;
};
}