Merge pull request #2410 from pSub/potrace
Add potrace-1.11, a tool for tracing bitmaps
This commit is contained in:
commit
885a2d9c53
22
pkgs/applications/graphics/potrace/default.nix
Normal file
22
pkgs/applications/graphics/potrace/default.nix
Normal file
@ -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";
|
||||||
|
};
|
||||||
|
}
|
@ -9052,6 +9052,8 @@ let
|
|||||||
inherit (xorg) libXpm;
|
inherit (xorg) libXpm;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
potrace = callPackage ../applications/graphics/potrace {};
|
||||||
|
|
||||||
pqiv = callPackage ../applications/graphics/pqiv { };
|
pqiv = callPackage ../applications/graphics/pqiv { };
|
||||||
|
|
||||||
qiv = callPackage ../applications/graphics/qiv { };
|
qiv = callPackage ../applications/graphics/qiv { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user