gnu: Add perl-razor2-client-agent.

* gnu/packages/perl-web.scm (perl-razor2-client-agent): New variable.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
Antero Mejr 2023-06-04 17:42:48 +00:00 committed by Danny Milosavljevic
parent 45f9efdbd6
commit cca94f021f
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -435,3 +435,32 @@ (define-public perl-net-libidn
much inspired by Turbo Fredriksson's PHP-IDN.")
(license (list license:gpl1+ license:clarified-artistic))))
(define-public perl-razor2-client-agent
;; TODO: Package razor-agents and razor-agents-sdk
(package
(name "perl-razor2-client-agent")
(version "2.86")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/T/TO/TODDR/Razor2-Client-Agent-"
version ".tar.gz"))
(sha256
(base32
"0pw4jhxhm2naqkz0h3gjgdjnygf4019zmvp712vj8pmnxc12w1jy"))))
(build-system perl-build-system)
(propagated-inputs (list perl-digest-sha1 perl-uri))
(home-page "https://metacpan.org/release/Razor2-Client-Agent")
(synopsis "Collaborative, content-based spam filtering network agent.")
(description
"This package provides a client library for Vipul's Razor. Vipul's Razor
is a distributed, collaborative, spam detection and filtering network.
Through user contribution, Razor establishes a distributed and constantly
updating catalogue of spam in propagation that is consulted by email clients
to filter out known spam. Detection is done with statistical and randomized
signatures that efficiently spot mutating spam content. User input is
validated through reputation assignments based on consensus on report and
revoke assertions which in turn is used for computing confidence values
associated with individual signatures.")
(license license:perl-license)))