{ final, prev, ... }: {
  pdf-redact-tools = prev.stdenv.mkDerivation {
    pname = "pdf-redact-tools";
    version = "0.1.2";

    src = prev.fetchFromGitHub {
      owner = "firstlookmedia";
      repo = "pdf-redact-tools";
      rev = "e407942fa19027718b706033d460a1dec2097094";
      sha256 = "sha256-mnz43HLau4PQ2xYqTx67I0BD+fVe0lRxQz2uAeCsaX0=";
    };

    buildInputs = [
      (final.python27.withPackages (ps: with ps; []))
      final.makeWrapper
    ];

    buildPhase = "true";

    installPhase = ''
      mkdir -p $out/bin
      install -m 0755 -t $out/bin \
        pdf-redact-tools
      wrapProgram $out/bin/pdf-redact-tools \
        --prefix PATH : ${prev.lib.makeBinPath (with final; [ imagemagick ghostscriptX exiftool ])}
    '';
  };
}