wayback: init at 0.17.0

This commit is contained in:
Gabriel Arazas 2022-03-27 08:36:59 +08:00
parent e60afd110c
commit 23ec9ff3e4
2 changed files with 23 additions and 0 deletions

View File

@ -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)

22
pkgs/wayback.nix Normal file
View File

@ -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;
};
}