nixpkgs/pkgs/tools/graphics/scrot/default.nix

26 lines
733 B
Nix
Raw Normal View History

2019-08-23 16:28:51 +02:00
{ stdenv, fetchFromGitHub, giblib, xlibsWrapper, autoreconfHook
, autoconf-archive, libXfixes, libXcursor }:
stdenv.mkDerivation rec {
2019-08-23 16:28:51 +02:00
pname = "scrot";
version = "1.2";
2019-08-23 16:28:51 +02:00
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = pname;
rev = version;
sha256 = "08gkdby0ysx2mki57z81zlm7vfnq9c1gq692xw67cg5vv2p3320w";
};
2019-08-23 16:28:51 +02:00
nativeBuildInputs = [ autoreconfHook autoconf-archive ];
buildInputs = [ giblib xlibsWrapper libXfixes libXcursor ];
2016-02-15 15:46:51 +01:00
meta = with stdenv.lib; {
homepage = http://linuxbrit.co.uk/scrot/;
description = "A command-line screen capture utility";
2016-02-15 15:46:51 +01:00
platforms = platforms.linux;
maintainers = with maintainers; [ globin ];
2018-08-04 18:46:28 +02:00
license = licenses.mit;
};
}