From 8b0d0e36010682ffcd211f1516ff6d879f84d68e Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Sat, 26 Apr 2014 10:20:37 +0200 Subject: Add potrace-1.11, a tool for tracing bitmaps --- pkgs/applications/graphics/potrace/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkgs/applications/graphics/potrace/default.nix (limited to 'pkgs/applications/graphics') diff --git a/pkgs/applications/graphics/potrace/default.nix b/pkgs/applications/graphics/potrace/default.nix new file mode 100644 index 000000000000..81af6db9a4cc --- /dev/null +++ b/pkgs/applications/graphics/potrace/default.nix @@ -0,0 +1,22 @@ +{ 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"; + }; + + 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"; + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.pSub ]; + license = "GPL2"; + }; +} -- cgit 1.4.1