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