Commit 4299329b authored by Sigmanificient's avatar Sigmanificient
Browse files

dirdiff: modernize

parent 719b1457
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -8,13 +8,13 @@
  tk,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "dirdiff";
  version = "2.1";

  src = fetchurl {
    url = "mirror://samba/paulus/${pname}-${version}.tar.gz";
    sha256 = "0lljd8av68j70733yshzzhxjr1lm0vgmbqsm8f02g03qsma3cdyb";
    url = "mirror://samba/paulus/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
    hash = "sha256-yzc2VNV4gCeAQ1XjVd8GlYYsO/wfaj/GAUcisxVqklI=";
  };

  nativeBuildInputs = [ copyDesktopItems ];
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
    })
  ];

  meta = with lib; {
  meta = {
    description = "Graphical directory tree diff and merge tool";
    mainProgram = "dirdiff";
    longDescription = ''
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
      directory trees and for merging changes from one tree into another.
    '';
    homepage = "https://www.samba.org/ftp/paulus/";
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
    license = lib.licenses.gpl2Plus;
    platforms = lib.platforms.unix;
  };
}
})