nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 956 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 ncurses, 8 pcre2, 9 sqlite, 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 pname = "fdupes"; 14 version = "2.4.0"; 15 16 src = fetchFromGitHub { 17 owner = "adrianlopezroche"; 18 repo = "fdupes"; 19 rev = "v${finalAttrs.version}"; 20 hash = "sha256-epregz+i2mML5zCQErQDJFUFUxnUoqcBlUPGPJ4tcmc="; 21 }; 22 23 nativeBuildInputs = [ 24 autoreconfHook 25 pkg-config 26 ]; 27 buildInputs = [ 28 ncurses 29 pcre2 30 sqlite 31 ]; 32 33 meta = { 34 description = "Identifies duplicate files residing within specified directories"; 35 longDescription = '' 36 fdupes searches the given path for duplicate files. 37 Such files are found by comparing file sizes and MD5 signatures, 38 followed by a byte-by-byte comparison. 39 ''; 40 homepage = "https://github.com/adrianlopezroche/fdupes"; 41 license = lib.licenses.mit; 42 platforms = lib.platforms.all; 43 mainProgram = "fdupes"; 44 }; 45})