2022-12-17 10:02:37 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
buildGoModule {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "morty";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "unstable-2021-04-22";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "asciimoo";
|
|
|
|
repo = "morty";
|
2022-12-17 10:02:37 +00:00
|
|
|
rev = "f5bff1e285d3f973cacf73318e55175edafd633f";
|
|
|
|
sha256 = "sha256-ik2VAPdxllt76UVFt77c1ltxIwFNahAKjn3FuErNFYo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-3sllcoTDYQBAyAT7e9KeKNrlTEbgnoZc0Vt0ksQByvo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Privacy aware web content sanitizer proxy as a service";
|
|
|
|
longDescription = ''
|
2022-12-17 10:02:37 +00:00
|
|
|
Morty rewrites web pages to exclude malicious HTML tags and attributes.
|
|
|
|
It also replaces external resource references to prevent third party information leaks.
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-12-17 10:02:37 +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-30 09:31:56 +00:00
|
|
|
'';
|
2022-12-17 10:02:37 +00:00
|
|
|
homepage = "https://github.com/asciimoo/morty";
|
|
|
|
maintainers = with maintainers; [ leenaars SuperSandro2000 ];
|
|
|
|
license = licenses.agpl3;
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|