summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-09-01 21:36:32 +0200
committerRicardo Wurmus <rekado@elephly.net>2015-09-03 13:16:47 +0200
commitd9cef6128cd0b632fcb60eed0a29b9324abd97fc (patch)
tree4f818d10b803808e6eb2aa0d089418feb56440c4 /gnu
parent240f2785c02f87a179c29a49142e26b8b6f008e0 (diff)
downloadguix-d9cef6128cd0b632fcb60eed0a29b9324abd97fc.tar.gz
gnu: Add libraw.
* gnu/packages/photo.scm (libraw): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/photo.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index bf3c76c51e..cbfc1e8730 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -30,6 +31,25 @@
   #:use-module (gnu packages perl)
   #:use-module (gnu packages base))
 
+(define-public libraw
+  (package
+    (name "libraw")
+    (version "0.17.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.libraw.org/data/LibRaw-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "043kckxjqanw8dl3m9f6kvsf0l20ywxmgxd1xb0slj6m8l4w4hz6"))))
+    (build-system gnu-build-system)
+    (home-page "http://www.libraw.org")
+    (synopsis "Raw image decoder")
+    (description
+     "LibRaw is a library for reading RAW files obtained from digital photo
+cameras (CRW/CR2, NEF, RAF, DNG, and others).")
+    (license lgpl2.1+)))
+
 (define-public libexif
   (package
     (name "libexif")