kdiff3: fix build

This commit is contained in:
Peter Hoeg 2024-02-09 10:28:02 +01:00
parent b59ee8cfd8
commit bdc57436da

View File

@ -1,9 +1,9 @@
{ mkDerivation { stdenv
, lib , lib
, fetchurl , fetchurl
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, wrapGAppsHook , wrapQtAppsHook
, boost , boost
, kcrash , kcrash
, kconfig , kconfig
@ -12,20 +12,18 @@
, kiconthemes , kiconthemes
}: }:
mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "kdiff3"; pname = "kdiff3";
version = "1.10.7"; version = "1.10.7";
src = fetchurl { src = fetchurl {
url = "mirror://kde/stable/kdiff3/kdiff3-${version}.tar.xz"; url = "mirror://kde/stable/kdiff3/kdiff3-${finalAttrs.version}.tar.xz";
hash = "sha256-/otpnRJM1NJjKzwnqgas7Fyqj8v4t2SM8MANektqzlA="; hash = "sha256-uj9Ky/SsdIrr78hfWcr2U9Rf6FmkjDSviZGCJKdnxeM=";
}; };
buildInputs = [ boost ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapQtAppsHook ];
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; buildInputs = [ boost kconfig kcrash kinit kparts kiconthemes ];
propagatedBuildInputs = [ kconfig kcrash kinit kparts kiconthemes ];
cmakeFlags = [ "-Wno-dev" ]; cmakeFlags = [ "-Wno-dev" ];
@ -36,4 +34,4 @@ mkDerivation rec {
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = with platforms; linux; platforms = with platforms; linux;
}; };
} })