aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authoreyjhb <eyjhbb@gmail.com>2020-10-13 14:36:37 +0200
committereyjhb <eyjhbb@gmail.com>2020-10-13 14:36:37 +0200
commit70f033e97beb2d3b254781f4e54cb9aaa396d842 (patch)
tree443e21de44ce9cf7759e3a0cfd280665b49a0b5a /pkgs/tools/graphics
parentff69f8b0bbe371033cb5c902bb02c1e0562bcadc (diff)
imgur-screenshot: 1.7.4 -> 2.0.0
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/imgur-screenshot/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/graphics/imgur-screenshot/default.nix b/pkgs/tools/graphics/imgur-screenshot/default.nix
index c994ee02811e..1a211ebd857f 100644
--- a/pkgs/tools/graphics/imgur-screenshot/default.nix
+++ b/pkgs/tools/graphics/imgur-screenshot/default.nix
@@ -1,21 +1,21 @@
-{ stdenv, fetchFromGitHub, makeWrapper, curl, gnugrep, libnotify, scrot, which, xclip }:
+{ stdenv, fetchFromGitHub, makeWrapper, curl, jq, gnugrep, libnotify, scrot, which, xclip }:
-let deps = stdenv.lib.makeBinPath [ curl gnugrep libnotify scrot which xclip ];
+let deps = stdenv.lib.makeBinPath [ curl jq gnugrep libnotify scrot which xclip ];
in stdenv.mkDerivation rec {
- version = "1.7.4";
+ version = "2.0.0";
pname = "imgur-screenshot";
src = fetchFromGitHub {
owner = "jomo";
repo = "imgur-screenshot";
rev = "v${version}";
- sha256 = "1bhi9sk8v7szh2fj13qwvdwzy5dw2w4kml86sy1ns1rn0xin0cgr";
+ sha256 = "0fkhvfraijbrw806pgij41bn1hc3r7l7l3snkicmshxj83lmsd5k";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
- install -Dm755 imgur-screenshot.sh $out/bin/imgur-screenshot
+ install -Dm755 imgur-screenshot $out/bin/imgur-screenshot
wrapProgram $out/bin/imgur-screenshot --prefix PATH ':' ${deps}
'';