···11-{ lib, stdenv, fetchurl, makeWrapper, perl, perlPackages, installShellFiles }:
22-33-stdenv.mkDerivation rec {
44- pname = "findimagedupes";
55- version = "2.20.1";
66-77- # fetching this from GitHub does not contain the correct version number
88- src = fetchurl {
99- url = "http://www.jhnc.org/findimagedupes/findimagedupes-${version}.tar.gz";
1010- sha256 = "sha256-VYqSnOD/Ntr0RnktJ/R0t+Z8+NRExA2mAHT2unPt9/o=";
1111- };
1212-1313- # Work around the "unpacker appears to have produced no directories"
1414- setSourceRoot = "sourceRoot=$(pwd)";
1515-1616- nativeBuildInputs = [ makeWrapper installShellFiles ];
1717-1818- buildInputs = [ perl ] ++ (with perlPackages; [
1919- DBFile
2020- FileMimeInfo
2121- FileBaseDir
2222- #GraphicsMagick
2323- ImageMagick
2424- Inline
2525- InlineC
2626- ParseRecDescent
2727- ]);
2828-2929- # use /tmp as a storage
3030- # replace GraphicsMagick with ImageMagick, because perl bindings are not yet available
3131- postPatch = ''
3232- substituteInPlace findimagedupes \
3333- --replace "DIRECTORY => '/usr/local/lib/findimagedupes';" "DIRECTORY => '/tmp';" \
3434- --replace "Graphics::Magick" "Image::Magick"
3535- '';
3636-3737- buildPhase = "
3838- runHook preBuild
3939- ${perl}/bin/pod2man findimagedupes > findimagedupes.1
4040- runHook postBuild
4141- ";
4242-4343- installPhase = ''
4444- runHook preInstall
4545- install -D -m 755 findimagedupes $out/bin/findimagedupes
4646- installManPage findimagedupes.1
4747- runHook postInstall
4848- '';
4949-5050- postFixup = ''
5151- wrapProgram "$out/bin/findimagedupes" \
5252- --prefix PERL5LIB : "${with perlPackages; makePerlPath [
5353- DBFile
5454- FileMimeInfo
5555- FileBaseDir
5656- #GraphicsMagick
5757- ImageMagick
5858- Inline
5959- InlineC
6060- ParseRecDescent
6161- ]}"
6262- '';
6363-6464- meta = with lib; {
6565- homepage = "http://www.jhnc.org/findimagedupes/";
6666- description = "Finds visually similar or duplicate images";
6767- license = licenses.gpl3;
6868- maintainers = with maintainers; [ stunkymonkey ];
6969- };
7070-}
+1
pkgs/top-level/aliases.nix
···499499 ffmpeg-sixel = throw "ffmpeg-sixel has been removed, because it was an outdated/unmaintained fork of ffmpeg"; # Added 2022-03-23";
500500 ffmpeg_3 = throw "ffmpeg_3 was removed from nixpkgs, because it was an outdated and insecure release"; # added 2022-01-17
501501 filebeat6 = throw "filebeat6 has been removed because it reached end of life"; # Added 2022-10-04
502502+ findimagedupes = throw "findimagedupes has been removed because the perl bindings are no longer compatible"; # Added 2023-07-10
502503 finger_bsd = bsd-finger;
503504 fingerd_bsd = bsd-fingerd;
504505 firefox-esr-68 = throw "Firefox 68 ESR was removed because it reached end of life with its final release 68.12esr on 2020-08-25";