mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
dirdiff: modernize
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user