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