2022-10-08 16:16:48 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
autoconf,
|
|
|
|
automake,
|
|
|
|
pkg-config,
|
|
|
|
cairo,
|
|
|
|
poppler,
|
|
|
|
wxGTK,
|
|
|
|
}:
|
2018-02-06 11:57:55 -06:00
|
|
|
|
2019-09-15 04:20:00 -05:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "diff-pdf";
|
2024-01-27 13:03:10 +00:00
|
|
|
version = "0.5.2";
|
2018-02-06 11:57:55 -06:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vslavik";
|
|
|
|
repo = "diff-pdf";
|
2025-04-08 02:51:45 -04:00
|
|
|
rev = "v${version}";
|
2024-01-27 13:03:10 +00:00
|
|
|
sha256 = "sha256-6aKF3Xqp/1BoHEiZVZJSemTjn5Qwwr3QyhsXOIjTr08=";
|
2018-02-06 11:57:55 -06:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:09:27 +07:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
pkg-config
|
|
|
|
];
|
2022-10-08 16:16:48 +02:00
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
poppler
|
|
|
|
wxGTK
|
2025-04-14 09:29:14 -04:00
|
|
|
];
|
2018-02-06 11:57:55 -06:00
|
|
|
|
|
|
|
preConfigure = "./bootstrap";
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-09-15 04:20:00 -05:00
|
|
|
homepage = "https://vslavik.github.io/diff-pdf/";
|
2018-02-06 11:57:55 -06:00
|
|
|
description = "Simple tool for visually comparing two PDF files";
|
|
|
|
license = licenses.gpl2;
|
2019-09-15 04:20:00 -05:00
|
|
|
platforms = platforms.all;
|
2018-02-06 11:57:55 -06:00
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
2024-02-11 03:19:15 +01:00
|
|
|
mainProgram = "diff-pdf";
|
2018-02-06 11:57:55 -06:00
|
|
|
};
|
|
|
|
}
|