1 { lib, stdenv, fetchurl, imagemagick, libpng }:
8 url = "http://ronja.twibright.com/optar.tgz";
9 sha256 = "10lr31k3xfcpa6vxkbl3abph7j3gks2210489khnnzmhmfdnm1a4";
12 buildInputs = [ libpng ];
14 enableParallelBuilding = true;
17 substituteInPlace Makefile \
18 --replace /usr/local $out
20 substituteInPlace pgm2ps \
21 --replace 'convert ' "${lib.getBin imagemagick}/bin/convert "
29 description = "OPTical ARchiver - it's a codec for encoding data on paper";
30 homepage = "http://ronja.twibright.com/optar/";
31 license = licenses.gpl2Only;
32 maintainers = with maintainers; [ peterhoeg ];
33 platforms = with platforms; linux; # possibly others, but only tested on Linux