diff options
| -rwxr-xr-x | cacerts | bin | 0 -> 207134 bytes | |||
| -rw-r--r-- | java-certs.scm | 47 |
2 files changed, 47 insertions, 0 deletions
| Binary files differ diff --git a/java-certs.scm b/java-certs.scm new file mode 100644 index 0000000..dffa5aa --- /dev/null +++ b/java-certs.scm @@ -0,0 +1,47 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> +;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> +;;; +;;; 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 (java-certs) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix build-system trivial) + #:use-module (gnu packages)) + + +(define-public java-certs + (package + (name "java-certs") + (version "1.0") + (source ("/home/yenda/src/guix/cacerts" "cacerts")) + (build-system trivial) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((certsdir (string-append %output "/etc/ssl/certs/java"))) + (mkdir-p certsdir) + (copy-file source (string-append certsdir "/cacerts")))))) + (native-inputs + `(("source" ,source))) + (synopsis "Java CA certificates from Debian") + (description + "This package provides certificates for Certification Authorities (CA) +taken from the NSS package and thus ultimately from the Mozilla project.")) + (license license:gpl2+)) |
