1 { lib, stdenv, fetchurl, zlib }:
3 stdenv.mkDerivation rec {
8 url = "https://potrace.sourceforge.net/download/${version}/potrace-${version}.tar.gz";
9 sha256 = "1k3sxgjqq0jnpk9xxys05q32sl5hbf1lbk1gmfxcrmpdgnhli0my";
12 configureFlags = [ "--with-libpotrace" ];
14 buildInputs = [ zlib ];
16 enableParallelBuilding = true;
20 homepage = "https://potrace.sourceforge.net/";
21 description = "Tool for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image";
22 platforms = platforms.unix;
23 maintainers = [ maintainers.pSub ];
24 license = licenses.gpl2;