nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 qt6,
6 cmake,
7 ninja,
8 libcprime,
9 libcsys,
10}:
11
12stdenv.mkDerivation (finalAttrs: {
13 pname = "corepad";
14 version = "5.0.0";
15
16 src = fetchFromGitLab {
17 owner = "cubocore/coreapps";
18 repo = "corepad";
19 tag = "v${finalAttrs.version}";
20 hash = "sha256-oGF2N0bUuvc/ixmh2nefEJKh0kDipvcL/dwaXNxwo84=";
21 };
22
23 nativeBuildInputs = [
24 cmake
25 ninja
26 qt6.wrapQtAppsHook
27 ];
28
29 buildInputs = [
30 qt6.qtbase
31 libcprime
32 libcsys
33 ];
34
35 meta = {
36 description = "Document editor from the C Suite";
37 mainProgram = "corepad";
38 homepage = "https://gitlab.com/cubocore/coreapps/corepad";
39 license = lib.licenses.gpl3Plus;
40 maintainers = with lib.maintainers; [ ];
41 platforms = lib.platforms.linux;
42 };
43})