diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/alkimia/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/alkimia/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/alkimia/default.nix b/nixpkgs/pkgs/development/libraries/alkimia/default.nix new file mode 100644 index 000000000000..d5c89209ce5d --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/alkimia/default.nix @@ -0,0 +1,36 @@ +{ mkDerivation, fetchurl, lib +, extra-cmake-modules, doxygen, graphviz, qtbase, qtwebengine, mpir +, kdelibs4support, plasma-framework, knewstuff, kpackage +}: + +mkDerivation rec { + pname = "alkimia"; + version = "8.1.2"; + + src = fetchurl { + url = "mirror://kde/stable/alkimia/${version}/${pname}-${version}.tar.xz"; + sha256 = "sha256-z4Ru6HucxjD1jgvdIzNCloELo7zBdR/i9HIhYYl+4zo="; + }; + + nativeBuildInputs = [ extra-cmake-modules doxygen graphviz ]; + + # qtwebengine is not a mandatory dependency, but it adds some features + # we might need for alkimia's dependents. See: + # https://github.com/KDE/alkimia/blob/v8.1.2/CMakeLists.txt#L124 + buildInputs = [ qtbase qtwebengine kdelibs4support plasma-framework knewstuff kpackage ]; + propagatedBuildInputs = [ mpir ]; + + meta = { + description = "Library used by KDE finance applications"; + mainProgram = "onlinequoteseditor5"; + 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 + application boundaries. + ''; + license = lib.licenses.lgpl21Plus; + platforms = qtbase.meta.platforms; + }; +} |