1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/servers/duckling-proxy/default.nix
Dmitry Bogatov a133079a9b ducking-proxy: init at 2021-07-23
Quoting official README,

    The Duckling proxy is a scheme-specific filtering proxy for Gemini clients
    to access the web. It behaves as a normal Gemini server, except it
    retrieves its content from the web.

    You can tailor its behaviour when it starts, to tailor how web pages are
    transformed to gemtext.

    It is scheme-specific, i.e. it is designed to handle HTTP requests only.
    Web pages are translated to text/gemini. Other web resources are returned
    directly.

    The primary intended use case for this proxy is as a personal proxy to make
    the web accessible to your favourite Gemini client.
2021-10-30 11:00:10 -04:00

22 lines
629 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule {
pname = "duckling-proxy";
version = "2021-07-23-unstable";
src = fetchFromGitHub {
owner = "LukeEmmet";
repo = "duckling-proxy";
rev = "e2bfd73a60d7afa43f13a9d420d514131fee8fd1";
sha256 = "134hnfa4f5sb1z1j5684wmqzascsrlagx8z36i1470yggb00j4hr";
};
vendorSha256 = "0wxk1a5gn9a7q2kgq11a783rl5cziipzhndgp71i365y3p1ssqyf";
meta = with lib; {
description = "Gemini proxy to access the Small Web";
homepage = "https://github.com/LukeEmmet/duckling-proxy";
license = licenses.mit;
maintainers = with maintainers; [ kaction ];
};
}