summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/ldutils/default.nix
blob: b0eedff04012472b43f88e31ccbd85ab9aef475b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  mkDerivation,
  lib,
  fetchFromGitLab,
  qtcharts,
  qtsvg,
  cmake,
}:
mkDerivation {
  pname = "ldutils";
  version = "1.15";

  src = fetchFromGitLab {
    owner = "ldutils-projects";
    repo = "ldutils";
    rev = "4fc416f694ce888c5bd4c4432a7730bb6260475c";
    #rev = "v_${version}";
    hash = "sha256-UMDayvz9RlcR4HVJNn7tN4FKbiKAFRSPaK0osA6OGTI=";
  };

  buildInputs = [
    qtcharts
    qtsvg
  ];

  nativeBuildInputs = [
    cmake
  ];

  qmakeFlags = [ "ldutils.pro" ];

  env = {
    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;
  };
}