nixos-config/pkgs/wayback.nix

24 lines
567 B
Nix
Raw Normal View History

2022-03-27 00:36:59 +00:00
{ stdenv, lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "wayback";
2023-05-03 04:48:28 +00:00
version = "0.19.1";
2022-03-27 00:36:59 +00:00
src = fetchFromGitHub {
owner = "wabarc";
repo = pname;
rev = "v${version}";
2023-05-03 04:48:28 +00:00
sha256 = "sha256-LIWCT0/5T52VQQK4Dy6EFmFlJ02MkfvKddN/O/5zpZc=";
2022-03-27 00:36:59 +00:00
};
2023-05-03 04:48:28 +00:00
vendorSha256 = "sha256-TC4uwJswpD5oKqF/rpXqU/h+k0jErwhguT/LkdBA83Y=";
2022-03-27 00:36:59 +00:00
doCheck = false;
meta = with lib; {
2022-03-28 00:18:15 +00:00
description =
"Self-hosted toolkit for archiving webpages to the Internet Archive";
2022-03-27 00:36:59 +00:00
homepage = "https://wabarc.eu.org/";
2022-03-27 03:29:42 +00:00
license = licenses.gpl3Only;
2022-03-27 00:36:59 +00:00
};
}