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

26 lines
790 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, giblib, xlibsWrapper, autoreconfHook
2020-09-16 13:05:20 +00:00
, autoconf-archive, libXfixes, libXcursor, libXcomposite }:
stdenv.mkDerivation rec {
2019-08-23 14:28:51 +00:00
pname = "scrot";
2021-02-06 18:55:59 +00:00
version = "1.5";
2019-08-23 14:28:51 +00:00
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = pname;
rev = version;
2021-02-06 18:55:59 +00:00
sha256 = "sha256-4vguodLnCj0sOBLM4oJXTfX1p8hIo3WTwIuViPtZxHQ=";
};
2019-08-23 14:28:51 +00:00
nativeBuildInputs = [ autoreconfHook autoconf-archive ];
2020-09-16 13:05:20 +00:00
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";
2016-02-15 14:46:51 +00:00
platforms = platforms.linux;
maintainers = with maintainers; [ globin ];
2018-08-04 16:46:28 +00:00
license = licenses.mit;
};
}