1 {lib, stdenv, fetchurl, fetchpatch}:
8 url = "http://www.nicemice.net/par/Par152.tar.gz";
9 sha256 = "33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082";
13 # A patch by Jérôme Pouiller that adds support for multibyte
14 # charsets (like UTF-8), plus Debian packaging.
16 url = "http://sysmic.org/dl/par/par-1.52-i18n.4.patch";
17 sha256 = "0alw44lf511jmr38jnh4j0mpp7vclgy0grkxzqf7q158vzdb6g23";
21 makefile = "protoMakefile";
23 makeFlagsArray+=(CC="${stdenv.cc.targetPrefix}cc -c" LINK1=${stdenv.cc.targetPrefix}cc)
30 mkdir -p $out/share/man/man1
31 cp par.1 $out/share/man/man1
36 homepage = "http://www.nicemice.net/par/";
37 description = "Paragraph reflow for email";
38 platforms = platforms.unix;
39 # See https://fedoraproject.org/wiki/Licensing/Par for license details
40 license = licenses.free;