nixpkgs/pkgs/development/libraries/ldutils/default.nix

40 lines
743 B
Nix
Raw Normal View History

2020-09-25 00:04:24 +01:00
{ mkDerivation
, lib
, fetchFromGitLab
, qtcharts
, qtsvg
, qmake
}:
mkDerivation rec {
pname = "ldutils";
2020-11-29 07:41:28 +00:00
version = "1.03";
2020-09-25 00:04:24 +01:00
src = fetchFromGitLab {
owner = "ldutils-projects";
repo = pname;
rev = "v_${version}";
2020-11-29 07:41:28 +00:00
sha256 = "0pi05py71hh5vlhl0kjh9wxmd7yixw10s0kr2wb4l4c0abqxr82j";
2020-09-25 00:04:24 +01:00
};
buildInputs = [
qtcharts
qtsvg
];
nativeBuildInputs = [
qmake
];
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;
};
}