a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
25 lines
791 B
Nix
25 lines
791 B
Nix
{ lib, stdenv, fetchFromGitHub, giblib, xlibsWrapper, autoreconfHook
|
|
, autoconf-archive, libXfixes, libXcursor, libXcomposite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scrot";
|
|
version = "1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "resurrecting-open-source-projects";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "12xq6glg70icwsvbnfw9gm4dahlbnrc7b6adpd0mpf89h4sj2gds";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook autoconf-archive ];
|
|
buildInputs = [ giblib xlibsWrapper libXfixes libXcursor libXcomposite ];
|
|
|
|
meta = with lib; {
|
|
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;
|
|
};
|
|
}
|