2014-04-26 10:20:37 +02:00
|
|
|
{ stdenv, fetchurl, zlib }:
|
|
|
|
|
2015-05-28 19:06:11 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2014-04-26 10:20:37 +02:00
|
|
|
name = "potrace-${version}";
|
2015-05-28 19:06:11 +02:00
|
|
|
version = "1.12";
|
2014-04-26 10:20:37 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-28 19:06:11 +02:00
|
|
|
url = "http://potrace.sourceforge.net/download/${version}/potrace-${version}.tar.gz";
|
|
|
|
sha256 = "0fqpfq5wwqz8j6pfh4p2pbflf6r86s4h63r8jawzrsyvpbbz3fxh";
|
2014-04-26 10:20:37 +02:00
|
|
|
};
|
|
|
|
|
2015-05-28 19:06:11 +02:00
|
|
|
configureFlags = [ "--with-libpotrace" ];
|
2014-06-10 09:24:43 +02:00
|
|
|
|
2014-04-26 10:20:37 +02: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 10:57:41 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-04-26 10:20:37 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.pSub ];
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-04-26 10:20:37 +02:00
|
|
|
};
|
|
|
|
}
|