diff --git a/pkgs/by-name/di/dirdiff/package.nix b/pkgs/by-name/di/dirdiff/package.nix index 3923a007f3e4..518dd43baca5 100644 --- a/pkgs/by-name/di/dirdiff/package.nix +++ b/pkgs/by-name/di/dirdiff/package.nix @@ -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; }; -} +})