nixpkgs/pkgs/by-name/mo/morty/package.nix

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

32 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
2018-05-30 17:10:36 +01:00
buildGoModule {
pname = "morty";
version = "unstable-2021-04-22";
2018-05-30 17:10:36 +01:00
2022-03-08 14:29:52 +00:00
src = fetchFromGitHub {
owner = "asciimoo";
repo = "morty";
rev = "f5bff1e285d3f973cacf73318e55175edafd633f";
sha256 = "sha256-ik2VAPdxllt76UVFt77c1ltxIwFNahAKjn3FuErNFYo=";
2018-05-30 17:10:36 +01:00
};
vendorHash = "sha256-3sllcoTDYQBAyAT7e9KeKNrlTEbgnoZc0Vt0ksQByvo=";
2018-05-30 17:10:36 +01:00
passthru.tests = { inherit (nixosTests) morty; };
meta = with lib; {
2018-05-30 17:10:36 +01:00
description = "Privacy aware web content sanitizer proxy as a service";
mainProgram = "morty";
2018-05-30 17:10:36 +01:00
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 17:10:36 +01: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 ];
2024-03-19 12:26:06 +00:00
license = licenses.agpl3Only;
2022-03-08 14:29:52 +00:00
};
2018-05-30 17:10:36 +01:00
}