2019-08-23 14:28:51 +00:00
|
|
|
{ stdenv, fetchFromGitHub, giblib, xlibsWrapper, autoreconfHook
|
|
|
|
, autoconf-archive, libXfixes, libXcursor }:
|
2009-09-02 22:56:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-23 14:28:51 +00:00
|
|
|
pname = "scrot";
|
|
|
|
version = "1.2";
|
2009-09-02 22:56:33 +00:00
|
|
|
|
2019-08-23 14:28:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "resurrecting-open-source-projects";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "08gkdby0ysx2mki57z81zlm7vfnq9c1gq692xw67cg5vv2p3320w";
|
2009-09-02 22:56:33 +00:00
|
|
|
};
|
|
|
|
|
2019-08-23 14:28:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook autoconf-archive ];
|
|
|
|
buildInputs = [ giblib xlibsWrapper libXfixes libXcursor ];
|
2009-09-02 22:56:33 +00:00
|
|
|
|
2016-02-15 14:46:51 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-10-12 12:51:00 +00:00
|
|
|
homepage = https://github.com/resurrecting-open-source-projects/scrot;
|
2009-09-02 22:56:33 +00:00
|
|
|
description = "A command-line screen capture utility";
|
2016-02-15 14:46:51 +00:00
|
|
|
platforms = platforms.linux;
|
2019-08-20 17:36:05 +00:00
|
|
|
maintainers = with maintainers; [ globin ];
|
2018-08-04 16:46:28 +00:00
|
|
|
license = licenses.mit;
|
2009-09-02 22:56:33 +00:00
|
|
|
};
|
|
|
|
}
|