* Added scrot, a command-line screen capture utility.

svn path=/nixpkgs/trunk/; revision=16946
This commit is contained in:
Eelco Dolstra 2009-09-02 22:56:33 +00:00
parent 99cd5a1679
commit 5de6c065d3
3 changed files with 42 additions and 1 deletions

View File

@ -0,0 +1,16 @@
{ stdenv, fetchurl, x11, imlib2 }:
stdenv.mkDerivation rec {
name = "giblib-1.2.4";
src = fetchurl {
url = "http://linuxbrit.co.uk/downloads/${name}.tar.gz";
sha256 = "1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp";
};
buildInputs = [x11 imlib2];
meta = {
homepage = http://linuxbrit.co.uk/giblib/;
};
}

View File

@ -0,0 +1,17 @@
{ stdenv, fetchurl, giblib, x11 }:
stdenv.mkDerivation rec {
name = "scrot-0.8";
src = fetchurl {
url = "http://linuxbrit.co.uk/downloads/${name}.tar.gz";
sha256 = "1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1";
};
buildInputs = [ giblib x11 ];
meta = {
homepage = http://linuxbrit.co.uk/scrot/;
description = "A command-line screen capture utility";
};
}

View File

@ -1344,6 +1344,10 @@ let
inherit fetchurl stdenv ncurses;
};
scrot = import ../tools/graphics/scrot {
inherit fetchurl stdenv giblib x11;
};
seccure = import ../tools/security/seccure/0.4.nix {
inherit fetchurl stdenv libgcrypt;
};
@ -3141,6 +3145,10 @@ let
};
};
giblib = import ../development/libraries/giblib {
inherit fetchurl stdenv x11 imlib2;
};
glew = import ../development/libraries/glew {
inherit fetchurl stdenv mesa x11 libtool;
inherit (xlibs) libXmu libXi;
@ -6424,7 +6432,7 @@ let
};
feh = import ../applications/graphics/feh {
inherit fetchurl stdenv x11 imlib2 libjpeg libpng;
inherit fetchurl stdenv x11 imlib2 libjpeg libpng giblib;
};
firefox = firefox35;