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)
This commit is contained in:
Sergei Trofimovich 2021-09-29 17:55:32 +01:00 committed by github-actions[bot]
parent d0ad2b1c52
commit 5ecf60dcc2

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, wget, bash }: { lib, stdenv, fetchurl, wget, bash }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.30";
pname = "wgetpaste"; pname = "wgetpaste";
version = "2.32";
src = fetchurl { src = fetchurl {
url = "http://wgetpaste.zlin.dk/${pname}-${version}.tar.bz2"; url = "https://github.com/zlin/wgetpaste/releases/download/${version}/wgetpaste-${version}.tar.xz";
sha256 = "14k5i6j6f34hcf9gdb9cnvfwscn0ys2dgd73ci421wj9zzqkbv73"; sha256 = "04yv1hndxhrc5axwiw1yy0yrw1kli5fk4yj4267l7xdwqzxvl7b2";
}; };
# currently zsh-autocompletion support is not installed # currently zsh-autocompletion support is not installed
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Command-line interface to various pastebins"; description = "Command-line interface to various pastebins";
homepage = "http://wgetpaste.zlin.dk/"; homepage = "https://github.com/zlin/wgetpaste";
license = lib.licenses.publicDomain; license = lib.licenses.publicDomain;
maintainers = with lib.maintainers; [ qknight domenkozar ]; maintainers = with lib.maintainers; [ qknight domenkozar ];
platforms = lib.platforms.all; platforms = lib.platforms.all;