2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, giblib, xlibsWrapper, autoreconfHook
|
2020-09-25 04:45:31 +00:00
|
|
|
, autoconf-archive, libXfixes, libXcursor, libXcomposite }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scrot";
|
2021-02-13 14:23:35 +00:00
|
|
|
version = "1.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "resurrecting-open-source-projects";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-02-13 14:23:35 +00:00
|
|
|
sha256 = "sha256-4vguodLnCj0sOBLM4oJXTfX1p8hIo3WTwIuViPtZxHQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook autoconf-archive ];
|
2020-09-25 04:45:31 +00:00
|
|
|
buildInputs = [ giblib xlibsWrapper libXfixes libXcursor libXcomposite ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/resurrecting-open-source-projects/scrot";
|
|
|
|
description = "A command-line screen capture utility";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ globin ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|