about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/kde/kompare.nix
blob: a449a1e4f51e66d30506fc87d42a7945444ed923 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  mkDerivation, lib,
  extra-cmake-modules, kdoctools,
  kiconthemes, kparts, ktexteditor, kwidgetsaddons, libkomparediff2,
  fetchpatch
}:

mkDerivation {
  pname = "kompare";
  meta = { license = with lib.licenses; [ gpl2 ]; };
  nativeBuildInputs = [ extra-cmake-modules kdoctools ];
  buildInputs = [
    kiconthemes kparts ktexteditor kwidgetsaddons libkomparediff2
  ];

  patches = [
    (fetchpatch {
      # Portaway from Obsolete methods of QPrinter
      # Part of v20.12.0
      url = "https://invent.kde.org/sdk/kompare/-/commit/68d3eee36c48a2f44ccfd3f9e5a36311b829104b.patch";
      sha256 = "B2i5n5cUDjCqTEF0OyTb1+LhPa5yWCnFycwijf35kwU=";
    })
  ];

  outputs = [ "out" "dev" ];
}