aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2025-03-09 17:26:09 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2025-03-09 17:37:00 +0100
commit730c32b6d1106644d7d85a31de99799eb764f8b6 (patch)
treed54a11e9ecf9267884d2732df833cfdf8254c6fd
parent7a0d4003ff39d8e3005a99a27afb4ead56320e4f (diff)
downloadguix-730c32b6d1106644d7d85a31de99799eb764f8b6.tar.gz
guix-730c32b6d1106644d7d85a31de99799eb764f8b6.zip
gnu: Add perl-www-pastebin-pastebincom-create.
* gnu/packages/perl-web.scm (perl-www-pastebin-pastebincom-create): New variable. Change-Id: I27fb11caec0ec089f3a4664ec3d5901fd286f9a1 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/perl-web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm
index 0e870dfa51..dfc3cc49e3 100644
--- a/gnu/packages/perl-web.scm
+++ b/gnu/packages/perl-web.scm
@@ -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.
;;;
@@ -243,6 +244,31 @@ simple and lightweight interface to the
side.")
(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
+ (list #: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 Pastebin without API keys")
+ (description
+ "@code{WWW::Pastebin::PastebinCom::Create} provides functionality to
+paste on @url{https://www.pastebin.com, Pastebin} without API keys.")
+ (license license:artistic2.0)))
+
(define-public geolite-country-data
;; TODO: Figure out how to get an updated, free database.
(hidden-package