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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
903 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, imlib2
, autoreconfHook
, autoconf-archive
, libX11
, libXext
, libXfixes
, libXcomposite
2023-06-21 13:20:16 +00:00
, libXinerama
, pkg-config
, libbsd
}:
stdenv.mkDerivation rec {
2019-08-23 14:28:51 +00:00
pname = "scrot";
2023-06-21 13:20:16 +00:00
version = "1.10";
2019-08-23 14:28:51 +00:00
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = pname;
rev = version;
2023-06-21 13:20:16 +00:00
sha256 = "sha256-ypPUQt3N30qUw5ecVRhwz3Hnh9lTOnbAm7o5tdxjyds=";
};
nativeBuildInputs = [
autoreconfHook
autoconf-archive
pkg-config
];
buildInputs = [
imlib2
libX11
libXext
libXfixes
libXcomposite
2023-06-21 13:20:16 +00:00
libXinerama
libbsd
];
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 ];
license = licenses.mitAdvertising;
};
}