2022-01-23 17:45:14 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2022-02-06 18:12:41 +00:00
|
|
|
, imlib2
|
2022-01-23 17:45:14 +00:00
|
|
|
, autoreconfHook
|
|
|
|
, autoconf-archive
|
2022-10-29 06:44:17 +00:00
|
|
|
, libX11
|
|
|
|
, libXext
|
2022-02-06 18:12:41 +00:00
|
|
|
, libXfixes
|
|
|
|
, libXcomposite
|
2023-06-21 13:20:16 +00:00
|
|
|
, libXinerama
|
2022-01-23 17:45:14 +00:00
|
|
|
, pkg-config
|
|
|
|
, libbsd
|
|
|
|
}:
|
2009-09-02 22:56:33 +00:00
|
|
|
|
|
|
|
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";
|
2009-09-02 22:56:33 +00:00
|
|
|
|
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=";
|
2009-09-02 22:56:33 +00:00
|
|
|
};
|
|
|
|
|
2022-01-23 17:45:14 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
autoconf-archive
|
|
|
|
pkg-config
|
|
|
|
];
|
2022-02-06 18:12:41 +00:00
|
|
|
|
2022-01-23 17:45:14 +00:00
|
|
|
buildInputs = [
|
|
|
|
imlib2
|
2022-10-29 06:44:17 +00:00
|
|
|
libX11
|
|
|
|
libXext
|
2022-02-06 18:12:41 +00:00
|
|
|
libXfixes
|
|
|
|
libXcomposite
|
2023-06-21 13:20:16 +00:00
|
|
|
libXinerama
|
2022-02-06 18:12:41 +00:00
|
|
|
libbsd
|
2022-01-23 17:45:14 +00:00
|
|
|
];
|
2009-09-02 22:56:33 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/resurrecting-open-source-projects/scrot";
|
2009-09-02 22:56:33 +00:00
|
|
|
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;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2022-01-23 17:45:14 +00:00
|
|
|
license = licenses.mitAdvertising;
|
2009-09-02 22:56:33 +00:00
|
|
|
};
|
|
|
|
}
|