2014-04-26 09:20:37 +01:00
|
|
|
{ stdenv, fetchurl, zlib }:
|
|
|
|
|
2015-05-28 18:06:11 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-04-26 09:20:37 +01:00
|
|
|
name = "potrace-${version}";
|
2015-12-12 10:51:50 +00:00
|
|
|
version = "1.13";
|
2014-04-26 09:20:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-28 18:06:11 +01:00
|
|
|
url = "http://potrace.sourceforge.net/download/${version}/potrace-${version}.tar.gz";
|
2015-12-12 10:51:50 +00:00
|
|
|
sha256 = "115p2vgyq7p2mf4nidk2x3aa341nvv2v8ml056vbji36df5l6lk2";
|
2014-04-26 09:20:37 +01:00
|
|
|
};
|
|
|
|
|
2015-05-28 18:06:11 +01:00
|
|
|
configureFlags = [ "--with-libpotrace" ];
|
2014-06-10 08:24:43 +01:00
|
|
|
|
2014-04-26 09:20:37 +01:00
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://potrace.sourceforge.net/;
|
|
|
|
description = "A tool for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image";
|
2014-06-10 09:57:41 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-04-26 09:20:37 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.pSub ];
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-04-26 09:20:37 +01:00
|
|
|
};
|
|
|
|
}
|