summary refs log tree commit diff
path: root/pkgs/applications/misc/cubocore-packages/corepdf/default.nix
blob: bb93391c2af80dd8ac59c2656a1be7a56af4e71f (plain) (blame)
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
{ mkDerivation, lib, fetchFromGitLab, qtbase, poppler, cmake, ninja, libcprime, libcsys }:

mkDerivation rec {
  pname = "corepdf";
  version = "4.2.0";

  src = fetchFromGitLab {
    owner = "cubocore/coreapps";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-HeOklgCwJ5h3DeelJOZqasG+eC9DGG3R0Cqg2yPKYhM=";
  };

  nativeBuildInputs = [
    cmake
    ninja
  ];

  buildInputs = [
    qtbase
    poppler
    libcprime
    libcsys
  ];

  meta = with lib; {
    description = "A PDF viewer from the C Suite";
    homepage = "https://gitlab.com/cubocore/coreapps/corepdf";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ dan4ik605743 ];
    platforms = platforms.linux;
  };
}