nixpkgs/pkgs/by-name/sc/scrot/package.nix

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

52 lines
905 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";
2024-06-18 03:46:32 +00:00
version = "1.11.1";
2019-08-23 14:28:51 +00:00
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = pname;
rev = version;
2024-06-18 03:46:32 +00:00
sha256 = "sha256-MUmvzZMzzKKw5GjOUhpdrMIgKO9/i9RDqDtTsSghd18=";
};
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 = "Command-line screen capture utility";
2023-08-10 06:56:51 +00:00
mainProgram = "scrot";
2016-02-15 14:46:51 +00:00
platforms = platforms.linux;
maintainers = [ ];
license = licenses.mitAdvertising;
};
}