2014-04-26 10:20:37 +02:00
|
|
|
{ stdenv, fetchurl, zlib }:
|
|
|
|
|
|
|
|
let version = "1.11"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "potrace-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://potrace.sourceforge.net/download/potrace-${version}.tar.gz";
|
|
|
|
sha256 = "1bbyl7jgigawmwc8r14znv8lb6lrcxh8zpvynrl6s800dr4yp9as";
|
|
|
|
};
|
|
|
|
|
2014-06-10 09:24:43 +02:00
|
|
|
configureFlags = ["--with-libpotrace"];
|
|
|
|
|
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 ];
|
|
|
|
license = "GPL2";
|
|
|
|
};
|
|
|
|
}
|