about summary refs log tree commit diff
path: root/pkgs/tools/text/wgetpaste
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-09-29 17:55:32 +0100
committerSergei Trofimovich <slyich@gmail.com>2021-09-29 17:56:56 +0100
commit17927dee0943215054e7dd518f68024f2cafdbb7 (patch)
treef3c5f1ae0d0793086b21c8f2ee6f3825c72865c1 /pkgs/tools/text/wgetpaste
parent26dae21e575c00d744b9fd550480d4f21e9d8758 (diff)
downloadnixlib-17927dee0943215054e7dd518f68024f2cafdbb7.tar
nixlib-17927dee0943215054e7dd518f68024f2cafdbb7.tar.gz
nixlib-17927dee0943215054e7dd518f68024f2cafdbb7.tar.bz2
nixlib-17927dee0943215054e7dd518f68024f2cafdbb7.tar.lz
nixlib-17927dee0943215054e7dd518f68024f2cafdbb7.tar.xz
nixlib-17927dee0943215054e7dd518f68024f2cafdbb7.tar.zst
nixlib-17927dee0943215054e7dd518f68024f2cafdbb7.zip
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.
Diffstat (limited to 'pkgs/tools/text/wgetpaste')
-rw-r--r--pkgs/tools/text/wgetpaste/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/text/wgetpaste/default.nix b/pkgs/tools/text/wgetpaste/default.nix
index a3a7a8bd54ac..ce757401b360 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;