diff options
author | c0bw3b <c0bw3b@users.noreply.github.com> | 2022-01-23 18:45:14 +0100 |
---|---|---|
committer | c0bw3b <c0bw3b@users.noreply.github.com> | 2022-01-23 18:45:14 +0100 |
commit | 27314e17beb0bae912ae25918402f213e2b7f4b1 (patch) | |
tree | d42e00b12eb1dc8f66042d147cd555516b2fae31 /pkgs/tools/graphics/scrot | |
parent | ff517c4db75510b978d3d4cbcad2a700ce680af6 (diff) |
scrot: 1.5 -> 1.7
Upstream says it's licensed under MIT-advertising
Diffstat (limited to 'pkgs/tools/graphics/scrot')
-rw-r--r-- | pkgs/tools/graphics/scrot/default.nix | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/pkgs/tools/graphics/scrot/default.nix b/pkgs/tools/graphics/scrot/default.nix index aa525abacb07c..bb721ded43a39 100644 --- a/pkgs/tools/graphics/scrot/default.nix +++ b/pkgs/tools/graphics/scrot/default.nix @@ -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; }; } |