From 5ecf60dcc20879d7eff24fccf4dcc3655187a22c Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 29 Sep 2021 17:55:32 +0100 Subject: [PATCH] wgetpaste: 2.30 -> 2.32 2.30 can's paste to `dpaste` (default driver). 2.32 has it fixed by using v2 endpoint. While at it switch homepage to github project. (cherry picked from commit 17927dee0943215054e7dd518f68024f2cafdbb7) --- pkgs/tools/text/wgetpaste/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/text/wgetpaste/default.nix b/pkgs/tools/text/wgetpaste/default.nix index a3a7a8bd54a..ce757401b36 100644 --- a/pkgs/tools/text/wgetpaste/default.nix +++ b/pkgs/tools/text/wgetpaste/default.nix @@ -1,12 +1,12 @@ { lib, stdenv, fetchurl, wget, bash }: stdenv.mkDerivation rec { - version = "2.30"; pname = "wgetpaste"; + version = "2.32"; src = fetchurl { - url = "http://wgetpaste.zlin.dk/${pname}-${version}.tar.bz2"; - sha256 = "14k5i6j6f34hcf9gdb9cnvfwscn0ys2dgd73ci421wj9zzqkbv73"; + url = "https://github.com/zlin/wgetpaste/releases/download/${version}/wgetpaste-${version}.tar.xz"; + sha256 = "04yv1hndxhrc5axwiw1yy0yrw1kli5fk4yj4267l7xdwqzxvl7b2"; }; # currently zsh-autocompletion support is not installed @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "Command-line interface to various pastebins"; - homepage = "http://wgetpaste.zlin.dk/"; + homepage = "https://github.com/zlin/wgetpaste"; license = lib.licenses.publicDomain; maintainers = with lib.maintainers; [ qknight domenkozar ]; platforms = lib.platforms.all;