depot/third_party/nixpkgs/pkgs/tools/graphics/scrot/default.nix
Default email 66604c92c1 Project import generated by Copybara.
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
2020-05-15 23:57:56 +02:00

25 lines
764 B
Nix

{ stdenv, fetchFromGitHub, giblib, xlibsWrapper, autoreconfHook
, autoconf-archive, libXfixes, libXcursor }:
stdenv.mkDerivation rec {
pname = "scrot";
version = "1.3";
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = pname;
rev = version;
sha256 = "0x70hd59ik37kqd8xqpwrz46np01jv324iz28x2s0kk36d7sblsj";
};
nativeBuildInputs = [ autoreconfHook autoconf-archive ];
buildInputs = [ giblib xlibsWrapper libXfixes libXcursor ];
meta = with stdenv.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;
};
}