blast: fix and enable strictDeps (#366620)
[NixPkgs.git] / pkgs / by-name / mo / morty / package.nix
blob9e210f3a78c3f68d3ceb3005f7301be43050d407
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5   nixosTests,
6 }:
8 buildGoModule {
9   pname = "morty";
10   version = "unstable-2021-04-22";
12   src = fetchFromGitHub {
13     owner = "asciimoo";
14     repo = "morty";
15     rev = "f5bff1e285d3f973cacf73318e55175edafd633f";
16     sha256 = "sha256-ik2VAPdxllt76UVFt77c1ltxIwFNahAKjn3FuErNFYo=";
17   };
19   vendorHash = "sha256-3sllcoTDYQBAyAT7e9KeKNrlTEbgnoZc0Vt0ksQByvo=";
21   passthru.tests = { inherit (nixosTests) morty; };
23   meta = with lib; {
24     description = "Privacy aware web content sanitizer proxy as a service";
25     mainProgram = "morty";
26     longDescription = ''
27       Morty rewrites web pages to exclude malicious HTML tags and attributes.
28       It also replaces external resource references to prevent third party information leaks.
30       The main goal of morty is to provide a result proxy for searx, but it can be used as a standalone sanitizer service too.
31     '';
32     homepage = "https://github.com/asciimoo/morty";
33     maintainers = with maintainers; [
34       leenaars
35       SuperSandro2000
36     ];
37     license = licenses.agpl3Only;
38   };