summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-01-16 12:57:30 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-01-16 12:59:28 +0300
commit143284888ed545fcf2683283e78680a5b89094e6 (patch)
tree653408d5dec5728e9d97d63da64dc613a5b0a022
parentguix: Move tome4-with-addons to tome4-with-addons-custom. (diff)
downloadguix-wigust-143284888ed545fcf2683283e78680a5b89094e6.tar.gz
guix: Add documentation-arcconf.
* guix/wigust/packages/documentation.scm: New file.
-rw-r--r--guix/wigust/packages/documentation.scm48
1 files changed, 48 insertions, 0 deletions
diff --git a/guix/wigust/packages/documentation.scm b/guix/wigust/packages/documentation.scm
new file mode 100644
index 0000000..16328bf
--- /dev/null
+++ b/guix/wigust/packages/documentation.scm
@@ -0,0 +1,48 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (wigust packages documentation)
+ #:use-module (guix)
+ #:use-module (guix build-system gnu)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix build-system trivial))
+
+(define-public documentation-arcconf
+ (package
+ (name "documentation-arcconf")
+ (version "3_00_23484_ug")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://download.adaptec.com/pdfs/user_guides/microsemi_cli_smarthba_smartraid_v"
+ version ".pdf"))
+ (sha256
+ (base32
+ "0x2bzi1ywpin8504ra9zlzh5aij15gqgfmjj1b5kylaap6vb92xb"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin (use-modules (guix build utils))
+ (let ((install-dir (string-append %output "/share/doc/arcconf")))
+ (mkdir-p install-dir)
+ (copy-file (assoc-ref %build-inputs "source") (string-append install-dir "/arcconf.pdf")))
+ #t)))
+ (home-page "http://download.adaptec.com/pdfs/user_guides/")
+ (synopsis "ARCCONF Command Line Utility")
+ (description "Microsemi Smart Storage Controllers User's Guide.")
+ (license #f)))