scrot: 1.5 -> 1.7

Upstream says it's licensed under MIT-advertising
This commit is contained in:
c0bw3b 2022-01-23 18:45:14 +01:00
parent ff517c4db7
commit 27314e17be

@ -1,25 +1,45 @@
{ lib, stdenv, fetchFromGitHub, giblib, xlibsWrapper, autoreconfHook
, autoconf-archive, libXfixes, libXcursor, libXcomposite }:
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, autoconf-archive
, pkg-config
, imlib2
, libbsd
, libXcomposite
, libXfixes
, xlibsWrapper
}:
stdenv.mkDerivation rec {
pname = "scrot";
version = "1.5";
version = "1.7";
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = pname;
rev = version;
sha256 = "sha256-4vguodLnCj0sOBLM4oJXTfX1p8hIo3WTwIuViPtZxHQ=";
hash = "sha256-oVmEPkEK1xDcIRUQjCp6CKf+aKnnVe3L7aRTdSsCmmY=";
};
nativeBuildInputs = [ autoreconfHook autoconf-archive ];
buildInputs = [ giblib xlibsWrapper libXfixes libXcursor libXcomposite ];
nativeBuildInputs = [
autoreconfHook
autoconf-archive
pkg-config
];
buildInputs = [
imlib2
libbsd
libXcomposite
libXfixes
xlibsWrapper
];
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.mit;
license = licenses.mitAdvertising;
};
}