mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
e6471b1a0e
Tested as no change in `out` output with `diffoscope`.
49 lines
872 B
Nix
49 lines
872 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, imlib2
|
|
, autoreconfHook
|
|
, autoconf-archive
|
|
, libX11
|
|
, libXext
|
|
, libXfixes
|
|
, libXcomposite
|
|
, pkg-config
|
|
, libbsd
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scrot";
|
|
version = "1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "resurrecting-open-source-projects";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-oVmEPkEK1xDcIRUQjCp6CKf+aKnnVe3L7aRTdSsCmmY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
autoconf-archive
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
imlib2
|
|
libX11
|
|
libXext
|
|
libXfixes
|
|
libXcomposite
|
|
libbsd
|
|
];
|
|
|
|
meta = with 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.mitAdvertising;
|
|
};
|
|
}
|