nixpkgs/pkgs/applications/graphics/potrace/default.nix

24 lines
678 B
Nix
Raw Normal View History

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