depot/third_party/nixpkgs/pkgs/tools/graphics/scrot/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

51 lines
905 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, imlib2
, autoreconfHook
, autoconf-archive
, libX11
, libXext
, libXfixes
, libXcomposite
, libXinerama
, pkg-config
, libbsd
}:
stdenv.mkDerivation rec {
pname = "scrot";
version = "1.11.1";
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = pname;
rev = version;
sha256 = "sha256-MUmvzZMzzKKw5GjOUhpdrMIgKO9/i9RDqDtTsSghd18=";
};
nativeBuildInputs = [
autoreconfHook
autoconf-archive
pkg-config
];
buildInputs = [
imlib2
libX11
libXext
libXfixes
libXcomposite
libXinerama
libbsd
];
meta = with lib; {
homepage = "https://github.com/resurrecting-open-source-projects/scrot";
description = "Command-line screen capture utility";
mainProgram = "scrot";
platforms = platforms.linux;
maintainers = [ ];
license = licenses.mitAdvertising;
};
}