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

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

47 lines
862 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, imlib2
, xlibsWrapper
, autoreconfHook
, autoconf-archive
, libXfixes
, libXcomposite
, pkg-config
, libbsd
}:
stdenv.mkDerivation rec {
2019-08-23 14:28:51 +00:00
pname = "scrot";
version = "1.7";
2019-08-23 14:28:51 +00:00
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = pname;
rev = version;
2022-01-29 14:36:13 +00:00
sha256 = "sha256-oVmEPkEK1xDcIRUQjCp6CKf+aKnnVe3L7aRTdSsCmmY=";
};
nativeBuildInputs = [
autoreconfHook
autoconf-archive
pkg-config
];
buildInputs = [
imlib2
xlibsWrapper
libXfixes
libXcomposite
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;
};
}