guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/09: gnu: Add perl-image-size.


From: guix-commits
Subject: 01/09: gnu: Add perl-image-size.
Date: Tue, 16 Apr 2024 17:51:07 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 6feab2a48c4b64df485a1a890c617cdb36554cc2
Author: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
AuthorDate: Thu Apr 11 23:10:39 2024 +0100

    gnu: Add perl-image-size.
    
    * gnu/packages/perl.scm (perl-image-size): New variable.
    
    Change-Id: Ib2b11b74451b156c4380b91334ae37032e6bb6fd
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/perl.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 80b17098c7..57a06f836b 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -37,6 +37,7 @@
 ;;; Copyright © 2023 Mădălin Ionel Patrașcu 
<madalinionel.patrascu@mdc-berlin.de>
 ;;; Copyright © 2023 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2023 Jake Leporte <jakeleporte@outlook.com>
+;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5554,6 +5555,25 @@ Hook::LexWrap implements wrappers in such a way that the 
standard
 caller function works correctly within the wrapped subroutine.")
     (license license:perl-license)))
 
+(define-public perl-image-size
+  (package
+    (name "perl-image-size")
+    (version "3.300")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RJ/RJRAY/Image-Size-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "0sq2kwdph55h4adx50fmy86brjkkv8grsw33xrhf1k9icpwb3jak"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-module-build))
+    (home-page "https://metacpan.org/release/Image-Size";)
+    (synopsis "Extract height/width from images")
+    (description "This package provides a simple Perl library to extract
+height/width from images.")
+    (license license:perl-license)))
+
 (define-public perl-importer
   (package
     (name "perl-importer")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]