summary refs log tree commit diff
path: root/pkgs/tools/misc/wayback/default.nix
blob: 368d1bad63f967656ca20fd06768fedeed451c11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ 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;
  };
}