From 730c32b6d1106644d7d85a31de99799eb764f8b6 Mon Sep 17 00:00:00 2001 From: Wilko Meyer Date: Sun, 9 Mar 2025 17:26:09 +0100 Subject: [PATCH] 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 --- gnu/packages/perl-web.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm index 0e870dfa515..dfc3cc49e38 100644 --- a/gnu/packages/perl-web.scm +++ b/gnu/packages/perl-web.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2021 Efraim Flashner +;;; Copyright © 2023 Wilko Meyer ;;; ;;; 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