2020-04-24 23:36:52 +00:00
|
|
|
{ mkDerivation, fetchurl, lib
|
2022-11-21 17:40:18 +00:00
|
|
|
, extra-cmake-modules, doxygen, graphviz, qtbase, qtwebengine, mpir
|
2020-04-24 23:36:52 +00:00
|
|
|
, kdelibs4support, plasma-framework, knewstuff, kpackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "alkimia";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "8.1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/alkimia/${version}/${pname}-${version}.tar.xz";
|
2023-10-19 13:55:26 +00:00
|
|
|
sha256 = "sha256-z4Ru6HucxjD1jgvdIzNCloELo7zBdR/i9HIhYYl+4zo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules doxygen graphviz ];
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
# qtwebengine is not a mandatory dependency, but it adds some features
|
|
|
|
# we might need for alkimia's dependents. See:
|
2023-10-19 13:55:26 +00:00
|
|
|
# https://github.com/KDE/alkimia/blob/v8.1.2/CMakeLists.txt#L124
|
2022-11-21 17:40:18 +00:00
|
|
|
buildInputs = [ qtbase qtwebengine kdelibs4support plasma-framework knewstuff kpackage ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ mpir ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Library used by KDE finance applications";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "onlinequoteseditor5";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
Alkimia is the infrastructure for common storage and business
|
|
|
|
logic that will be used by all financial applications in KDE.
|
|
|
|
|
|
|
|
The target is to share financial related information over
|
2023-05-24 13:37:59 +00:00
|
|
|
application boundaries.
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
platforms = qtbase.meta.platforms;
|
|
|
|
};
|
|
|
|
}
|