nixpkgs/pkgs/tools/graphics/scrot/default.nix

26 lines
793 B
Nix
Raw Normal View History

2019-08-23 07:28:51 -07:00
{ stdenv, fetchFromGitHub, giblib, xlibsWrapper, autoreconfHook
2020-09-16 06:05:20 -07:00
, autoconf-archive, libXfixes, libXcursor, libXcomposite }:
stdenv.mkDerivation rec {
2019-08-23 07:28:51 -07:00
pname = "scrot";
2020-09-16 06:05:20 -07:00
version = "1.4";
2019-08-23 07:28:51 -07:00
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = pname;
rev = version;
2020-09-16 06:05:20 -07:00
sha256 = "12xq6glg70icwsvbnfw9gm4dahlbnrc7b6adpd0mpf89h4sj2gds";
};
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 ];
2016-02-15 06:46:51 -08:00
meta = with stdenv.lib; {
homepage = "https://github.com/resurrecting-open-source-projects/scrot";
description = "A command-line screen capture utility";
2016-02-15 06:46:51 -08:00
platforms = platforms.linux;
maintainers = with maintainers; [ globin ];
2018-08-04 09:46:28 -07:00
license = licenses.mit;
};
}