From 23ec9ff3e4f5da7d7197be01a2f3abc1b3d89203 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 27 Mar 2022 08:36:59 +0800 Subject: [PATCH] wayback: init at 0.17.0 --- pkgs/default.nix | 1 + pkgs/wayback.nix | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/wayback.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index 44213944..39260966 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -43,5 +43,6 @@ let segno = libsForQt5.callPackage ./segno.nix { }; sioyek = libsForQt5.callPackage ./sioyek.nix { }; vpaint = libsForQt5.callPackage ./vpaint.nix { }; + wayback = libsForQt5.callPackage ./wayback.nix { }; }; in lib.fix (lib.extends overrides packages) diff --git a/pkgs/wayback.nix b/pkgs/wayback.nix new file mode 100644 index 00000000..77a58b2d --- /dev/null +++ b/pkgs/wayback.nix @@ -0,0 +1,22 @@ +{ stdenv, lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "wayback"; + version = "0.17.0"; + + src = fetchFromGitHub { + owner = "wabarc"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-ookQz906ZY0I7aHyxOu+VpyoMxNrQLjuXTj78N9iS/A="; + }; + + vendorSha256 = "sha256-X73qMp+Xx/XxR6odxpZTywmjYPGcbLZBChC/SsqFNVs="; + doCheck = false; + + meta = with lib; { + description = "Self-hosted toolkit for archiving webpages to the Internet Archive"; + homepage = "https://wabarc.eu.org/"; + license = licenses.gpl3; + }; +}