Skip to content

Commit

Permalink
kdePackages.calligra: 3.2.1 -> 4.0.1 (#344930)
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 authored Sep 28, 2024
2 parents 6a11201 + faa4fdb commit 766fda1
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 95 deletions.
93 changes: 0 additions & 93 deletions pkgs/applications/office/calligra/default.nix

This file was deleted.

1 change: 1 addition & 0 deletions pkgs/kde/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ let
selenium-webdriver-at-spi = null; # Used for integration tests that we don't run, stub

alpaka = self.callPackage ./misc/alpaka { };
calligra = self.callPackage ./misc/calligra { };
kdiagram = self.callPackage ./misc/kdiagram { };
kdevelop-pg-qt = self.callPackage ./misc/kdevelop-pg-qt { };
kdsoap-ws-discovery-client = self.callPackage ./misc/kdsoap-ws-discovery-client { };
Expand Down
76 changes: 76 additions & 0 deletions pkgs/kde/misc/calligra/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
mkKdeDerivation,
lib,
fetchurl,
boost,
eigen,
imath,
libetonyek,
libgit2,
libodfgen,
librevenge,
libvisio,
libwpd,
libwpg,
libwps,
okular,
perl,
pkg-config,
poppler,
qtkeychain,
qtsvg,
}:

mkKdeDerivation rec {
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")
];

meta = {
maintainers = with lib.maintainers; [
ebzzry
zraexy
sigmasquadron
];
license = with lib.licenses; [
gpl2
lgpl2
];
mainProgram = "calligralauncher";
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ mapAliases {

### C ###

calligra = kdePackages.calligra; # Added 2024-09-27
callPackage_i686 = pkgsi686Linux.callPackage;
cadence = throw "cadence has been removed from nixpkgs, as it was archived upstream"; # Added 2023-10-28
cask = emacs.pkgs.cask; # Added 2022-11-12
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28697,8 +28697,6 @@ with pkgs;
calicoctl
confd-calico;

calligra = libsForQt5.callPackage ../applications/office/calligra { };

perkeep = callPackage ../applications/misc/perkeep { };

canto-curses = callPackage ../applications/networking/feedreaders/canto-curses { };
Expand Down

0 comments on commit 766fda1

Please sign in to comment.