nixpkgs/pkgs/kde/misc/calligra/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

77 lines
1.3 KiB
Nix
Raw Normal View History

{
mkKdeDerivation,
lib,
fetchurl,
boost,
eigen,
imath,
libetonyek,
libgit2,
libodfgen,
librevenge,
libvisio,
libwpd,
libwpg,
libwps,
okular,
perl,
pkg-config,
poppler,
qtkeychain,
qtsvg,
}:
mkKdeDerivation rec {
2017-09-15 17:06:49 +00:00
pname = "calligra";
version = "4.0.1";
src = fetchurl {
url = "mirror://kde/stable/calligra/calligra-${version}.tar.xz";
hash = "sha256-1AH15z9PG9wLNUjqGlCwrBd4we3jCmozWUTtf72I2V8=";
};
extraBuildInputs = [
boost
eigen
imath
libetonyek
libgit2
libodfgen
librevenge
libvisio
libwpd
libwpg
libwps
okular
poppler
qtkeychain
qtsvg
];
extraNativeBuildInputs = [
perl
pkg-config
];
# Recommended by the upstream packaging instructions. RELEASE_BUILD disables
# unmaintained components, like Braindump, from being built, and KDE_NO_DEBUG_OUTPUT
# is supposed to improve performance in the finished package.
extraCmakeFlags = [
(lib.cmakeBool "RELEASE_BUILD" true)
(lib.cmakeFeature "CMAKE_CXX_FLAGS" "-DKDE_NO_DEBUG_OUTPUT")
2020-08-23 23:49:12 +00:00
];
2015-11-05 20:55:08 +00:00
meta = {
maintainers = with lib.maintainers; [
ebzzry
zraexy
sigmasquadron
];
license = with lib.licenses; [
gpl2
lgpl2
];
mainProgram = "calligralauncher";
};
}