From cfbbff31cce0c95ae10f622959366f57b74d1b00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 26 Jul 2015 11:27:39 +0800 Subject: [PATCH] gnu: Add libatasmart. * gnu/packages/freedesktop.scm (libatasmart): New variable. --- gnu/packages/freedesktop.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 580096e6a5..9518ecf73c 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -295,3 +295,26 @@ (define-public exempi (description "Exempi is an implementation of the Extensible Metadata Platform (XMP), which enables embedding metadata in PDF and image formats.") (license license:bsd-3))) + +(define-public libatasmart + (package + (name "libatasmart") + (version "0.19") + (source (origin + (method url-fetch) + (uri (string-append "http://0pointer.de/public/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "138gvgdwk6h4ljrjsr09pxk1nrki4b155hqdzyr8mlk3bwsfmw31")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("udev" ,eudev))) + (home-page "http://0pointer.de/blog/projects/being-smart.html") + (synopsis "ATA S.M.A.R.T. reading and parsing library") + (description + "This library supports a subset of the ATA S.M.A.R.T. (Self-Monitoring, +Analysis and Reporting Technology) functionality.") + (license license:lgpl2.1+)))