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