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

26 lines
764 B
Nix
Raw Normal View History

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