nixpkgs/pkgs/servers/web-apps/morty/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
969 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2018-05-30 16:10:36 +00:00
buildGoModule {
pname = "morty";
version = "unstable-2021-04-22";
2018-05-30 16:10:36 +00:00
2022-03-08 14:29:52 +00:00
src = fetchFromGitHub {
owner = "asciimoo";
repo = "morty";
rev = "f5bff1e285d3f973cacf73318e55175edafd633f";
sha256 = "sha256-ik2VAPdxllt76UVFt77c1ltxIwFNahAKjn3FuErNFYo=";
2018-05-30 16:10:36 +00:00
};
vendorSha256 = "sha256-3sllcoTDYQBAyAT7e9KeKNrlTEbgnoZc0Vt0ksQByvo=";
2018-05-30 16:10:36 +00:00
meta = with lib; {
2018-05-30 16:10:36 +00:00
description = "Privacy aware web content sanitizer proxy as a service";
longDescription = ''
Morty rewrites web pages to exclude malicious HTML tags and attributes.
It also replaces external resource references to prevent third party information leaks.
2018-05-30 16:10:36 +00:00
The main goal of morty is to provide a result proxy for searx, but it can be used as a standalone sanitizer service too.
2022-03-08 14:29:52 +00:00
'';
homepage = "https://github.com/asciimoo/morty";
maintainers = with maintainers; [ leenaars SuperSandro2000 ];
license = licenses.agpl3;
2022-03-08 14:29:52 +00:00
};
2018-05-30 16:10:36 +00:00
}