mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
a133079a9b
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.
22 lines
629 B
Nix
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 ];
|
|
};
|
|
}
|