anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / development / libraries / ldutils / default.nix
blob0bdd8b9ac5996b4cf3ae23194bcb42130ad5637f
2   mkDerivation,
3   lib,
4   fetchFromGitLab,
5   libsForQt5,
6   cmake,
7 }:
8 mkDerivation rec {
9   pname = "ldutils";
10   version = "1.15";
12   src = fetchFromGitLab {
13     owner = "ldutils-projects";
14     repo = pname;
15     rev = "4fc416f694ce888c5bd4c4432a7730bb6260475c";
16     #rev = "v_${version}";
17     hash = "sha256-UMDayvz9RlcR4HVJNn7tN4FKbiKAFRSPaK0osA6OGTI=";
18   };
20   buildInputs = with libsForQt5.qt5; [
21     qtcharts
22     qtsvg
23   ];
25   nativeBuildInputs = [
26     cmake
27   ];
29   qmakeFlags = ["ldutils.pro"];
31   LDUTILS_LIB = placeholder "out";
32   LDUTILS_INCLUDE = placeholder "out";
34   meta = with lib; {
35     description = "Headers and link library for other ldutils projects";
36     homepage = "https://gitlab.com/ldutils-projects/ldutils";
37     license = licenses.gpl3Plus;
38     maintainers = with maintainers; [sohalt];
39     platforms = platforms.linux;
40   };