@@ -2,6 +2,7 @@
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -125,3 +126,28 @@ (define-public perl-uri-nested
"@code{URI::Nested} provides support for nested URIs, where the scheme is
a prefix, and the remainder of the URI is another URI.")
(license license:perl-license)))
+
+(define-public perl-www-pastebin-pastebincom-create
+ (package
+ (name "perl-www-pastebin-pastebincom-create")
+ (version "1.003")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/Z/ZO/ZOFFIX/WWW-Pastebin-PastebinCom-Create-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0xs29hilmlr51hcg4azbvi7c30yivan5gzwiq2z0dwrdy13lvcln"))))
+ (build-system perl-build-system)
+ ;; TODO: tests currently fail, disabled for now
+ (arguments
+ `(#:tests? #f))
+ (native-inputs (list perl-module-build))
+ (propagated-inputs (list perl-moo perl-www-mechanize))
+ (home-page "https://metacpan.org/release/WWW-Pastebin-PastebinCom-Create")
+ (synopsis "Paste on www.pastebin.com without API keys")
+ (description "@code{WWW::Pastebin::PastebinCom::Create} provides functionality
+to paste on pastebin.com without API keys.")
+ (license license:artistic2.0)))
+