12 resholve.mkDerivation rec {
14 version = "unstable-2019-01-24";
16 src = fetchFromGitHub {
19 rev = "45ee7796659d23bb030bf06647f1af85e1d2b52d";
20 hash = "sha256-TOISD/2g7MwnLrtpMnfr2Ln0IiwlJVNavWl4eh/uwN0=";
26 install -Dm 0755 pdfmm $out/bin/pdfmm
33 interpreter = "${bash}/bin/bash";
42 # only need xmessage if zenity is unavailable
43 external = [ "xmessage" ];
46 "cannot:${zenity}/bin/zenity"
48 keep."$toutLu" = true;
52 description = "Graphical assistant to reduce the size of a PDF file";
53 homepage = "https://github.com/jpfleury/pdfmm";
54 license = licenses.gpl3Only;
55 maintainers = with maintainers; [ urandom ];
56 mainProgram = "pdfmm";
57 platforms = platforms.linux ++ platforms.darwin;