mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
cd8b36411a
Obsolete methods were still in use when 20.08 was released. This patch ports away from them.
27 lines
699 B
Nix
27 lines
699 B
Nix
{
|
|
mkDerivation, lib,
|
|
extra-cmake-modules, kdoctools,
|
|
kiconthemes, kparts, ktexteditor, kwidgetsaddons, libkomparediff2,
|
|
fetchpatch
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "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" ];
|
|
}
|