gnu: perl-mail-spf: Clean up.

* gnu/packages/mail.scm (perl-mail-spf): Re-indent.
[version]: Drop leading ‘v’.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-18 16:00:06 +01:00
parent b6c7df92ca
commit 27f172a946
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 33 additions and 35 deletions

View File

@ -1843,24 +1843,24 @@ Khard can also be used from within the email client @command{mutt}.")
(define-public perl-mail-spf (define-public perl-mail-spf
(package (package
(name "perl-mail-spf") (name "perl-mail-spf")
(version "v2.9.0") (version "2.9.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"mirror://cpan/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-" "mirror://cpan/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v"
version version
".tar.gz")) ".tar.gz"))
(sha256 (sha256
(base32 (base32 "0qk1rfgfm5drj4iyniiabrasrpqv570vzhgz66lwgb67y4amkjv1"))))
"0qk1rfgfm5drj4iyniiabrasrpqv570vzhgz66lwgb67y4amkjv1"))))
(build-system perl-build-system) (build-system perl-build-system)
(native-inputs (native-inputs
`(("perl-module-build" ,perl-module-build) `(("perl-module-build" ,perl-module-build)
("perl-net-dns-resolver-programmable" ("perl-net-dns-resolver-programmable"
,perl-net-dns-resolver-programmable))) ,perl-net-dns-resolver-programmable)))
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases
(modify-phases %standard-phases
(add-before 'configure 'modify-Build.PL (add-before 'configure 'modify-Build.PL
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(substitute* "Build.PL" (substitute* "Build.PL"
@ -1873,10 +1873,8 @@ Khard can also be used from within the email client @command{mutt}.")
("perl-net-dns" ,perl-net-dns) ("perl-net-dns" ,perl-net-dns)
("perl-netaddr-ip" ,perl-netaddr-ip) ("perl-netaddr-ip" ,perl-netaddr-ip)
("perl-uri" ,perl-uri))) ("perl-uri" ,perl-uri)))
(home-page (home-page "https://metacpan.org/release/Mail-SPF")
"https://metacpan.org/release/Mail-SPF") (synopsis "Perl implementation of Sender Policy Framework")
(synopsis
"Perl implementation of Sender Policy Framework")
(description "Mail::SPF is the Sender Policy Framework implemented (description "Mail::SPF is the Sender Policy Framework implemented
in Perl.") in Perl.")
(license bsd-3))) (license bsd-3)))