Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 extra-cmake-modules,
6 doxygen,
7 graphviz,
8 qtbase,
9 qtwebengine,
10 mpir,
11 kdelibs4support,
12 plasma-framework,
13 knewstuff,
14 kpackage,
15 wrapQtAppsHook,
16}:
17
18stdenv.mkDerivation (finalAttrs: {
19 pname = "alkimia";
20 version = "8.2.1";
21
22 src = fetchFromGitLab {
23 domain = "invent.kde.org";
24 owner = "office";
25 repo = "alkimia";
26 rev = "v${finalAttrs.version}";
27 hash = "sha256-v5DfnnzOMsoCXr074ydXxBIrSsnbex6G/OqF6psTvPs=";
28 };
29
30 nativeBuildInputs = [
31 extra-cmake-modules
32 doxygen
33 graphviz
34 wrapQtAppsHook
35 ];
36
37 # qtwebengine is not a mandatory dependency, but it adds some features
38 # we might need for alkimia's dependents. See:
39 # https://github.com/KDE/alkimia/blob/v8.1.2/CMakeLists.txt#L124
40 buildInputs = [
41 qtbase
42 qtwebengine
43 kdelibs4support
44 plasma-framework
45 knewstuff
46 kpackage
47 ];
48
49 propagatedBuildInputs = [ mpir ];
50
51 meta = {
52 description = "Library used by KDE finance applications";
53 mainProgram = "onlinequoteseditor5";
54 longDescription = ''
55 Alkimia is the infrastructure for common storage and business
56 logic that will be used by all financial applications in KDE.
57
58 The target is to share financial related information over
59 application boundaries.
60 '';
61 license = lib.licenses.lgpl21Plus;
62 platforms = qtbase.meta.platforms;
63 };
64})