From ca0a14c0f8923629e0454cd19c04c787c491facf Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Sun, 22 Jun 2008 02:07:53 +0000 Subject: [PATCH] added gifscile (creating and reading gif animations) svn path=/nixpkgs/trunk/; revision=12176 --- pkgs/tools/graphics/gifscile/default.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/tools/graphics/gifscile/default.nix diff --git a/pkgs/tools/graphics/gifscile/default.nix b/pkgs/tools/graphics/gifscile/default.nix new file mode 100644 index 000000000000..31f7a4e45271 --- /dev/null +++ b/pkgs/tools/graphics/gifscile/default.nix @@ -0,0 +1,17 @@ +args: +args.stdenv.mkDerivation { + name = "gifsicle-1.52"; + + src = args.fetchurl { + url = http://www.lcdf.org/gifsicle/gifsicle-1.52.tar.gz; + sha256 = "1fp47grvk46bkj22zixrhgpgs3qbkmijicf3wkjk4y8fsx0idbgk"; + }; + + buildInputs =(with args; [xproto libXt libX11]); + + meta = { + description = "command-line tool for creating, editing, and getting information about GIF images and animations"; + homepage = http://www.lcdf.org/gifsicle/; + license = "GPL2"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 62b98b07bd67..f820acd52fb0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -612,6 +612,11 @@ let pkgs = rec { inherit fetchurl stdenv; }; + gifsicle = import ../tools/graphics/gifscile { + inherit fetchurl stdenv; + inherit (xlibs) xproto libXt libX11; + }; + glxinfo = assert mesaSupported; import ../tools/graphics/glxinfo { inherit fetchurl stdenv x11 mesa; };