summary refs log tree commit diff
path: root/pkgs/applications/graphics/potrace/default.nix
blob: 81af6db9a4cc7371eab74b31f1f17959fe7683f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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";
  };
}