diff --git a/pkgs/tools/misc/wayback/default.nix b/pkgs/tools/misc/wayback/default.nix new file mode 100644 index 000000000000..368d1bad63f9 --- /dev/null +++ b/pkgs/tools/misc/wayback/default.nix @@ -0,0 +1,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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 20b5e2329b05..69ee49988a8e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7116,6 +7116,8 @@ with pkgs; wallutils = callPackage ../tools/graphics/wallutils { }; + wayback = callPackage ../tools/misc/wayback { }; + worker-build = callPackage ../development/tools/worker-build { inherit (darwin.apple_sdk.frameworks) Security; };