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