Commit bdc57436 authored by Peter Hoeg's avatar Peter Hoeg
Browse files

kdiff3: fix build

parent b59ee8cf
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
{ 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;
  };
}
})