summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/potrace/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/potrace/default.nix')
-rw-r--r--pkgs/applications/graphics/potrace/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/potrace/default.nix b/pkgs/applications/graphics/potrace/default.nix
new file mode 100644
index 000000000000..365f88b19b4c
--- /dev/null
+++ b/pkgs/applications/graphics/potrace/default.nix
@@ -0,0 +1,24 @@
+{ 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";
+ };
+
+ configureFlags = ["--with-libpotrace"];
+
+ 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.unix;
+ maintainers = [ stdenv.lib.maintainers.pSub ];
+ license = "GPL2";
+ };
+}