1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/potrace/default.nix
Franz Pletz ede0ecdc69
potrace: 1.14 -> 1.15
Fixes CVE-2017-12067 and other security issues.

Fixes NixOS/security#107.
2017-09-18 17:24:09 +02:00

24 lines
662 B
Nix

{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
name = "potrace-${version}";
version = "1.15";
src = fetchurl {
url = "http://potrace.sourceforge.net/download/${version}/potrace-${version}.tar.gz";
sha256 = "17ajildjp14shsy339xarh1lw1p0k60la08ahl638a73mh23kcx9";
};
configureFlags = [ "--with-libpotrace" ];
buildInputs = [ zlib ];
meta = with stdenv.lib; {
homepage = http://potrace.sourceforge.net/;
description = "A tool for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image";
platforms = platforms.unix;
maintainers = [ maintainers.pSub ];
license = licenses.gpl2;
};
}