nixpkgs/pkgs/tools/misc/wayback/default.nix
2gn 142ca91f36 wayback: init at v0.19.1
removed trailing whitespace
replaced google-chrome with chromium (by @Tungsten842)
updated licence from gpl3 to gpl3Plus (by @natsukium)
removed dot at the end of the description (by @natsukium)
moved vendorHash and doCheck down (by @supersandro2000)

Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
Co-authored-by: Tungsten842 <quantmint@protonmail.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-05-08 22:46:47 +09:00

35 lines
807 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
, chromium
}:
buildGoModule rec {
pname = "wayback";
version = "0.19.1";
src = fetchFromGitHub {
owner = "wabarc";
repo = "wayback";
rev = "v${version}";
hash = "sha256-LIWCT0/5T52VQQK4Dy6EFmFlJ02MkfvKddN/O/5zpZc=";
};
vendorHash = "sha256-TC4uwJswpD5oKqF/rpXqU/h+k0jErwhguT/LkdBA83Y=";
doCheck = false;
buildInputs = [
chromium
];
meta = with lib; {
description = "An archiving tool with an IM-style interface";
homepage = "https://docs.wabarc.eu.org";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ _2gn ];
# binary build for darwin is possible, but it requires chromium for runtime dependency, whose build (for nix) is not supported on darwin.
platforms = platforms.linux;
};
}