Paste number 153576: untitled

Index of paste annotations: 1

Paste number 153576: untitled
Pasted by: yenda
When:4 years, 9 months ago
Share:Tweet this! | http://paste.lisp.org/+3AI0
Channel:None
Paste contents:
Raw Source | XML | Display As
(define-module (java-certs)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system trivial)
  #:use-module (gnu packages))


(define-public java-certs
  (package
    (name "java-certs")
    (version "1.0")
    (source
     (origin
      (method url-fetch)
      (uri (string-append "https://github.com/yenda/guix-packages/raw/master/" "cacerts"))
      (sha256
       (base32
        "1ksxkbvhx1ga6yr5l7h6yxx5kqnvk1cxbyg8d7xd55anbaq8vi6x"))))
    (build-system trivial)
    (arguments
     `(#:builder
       (begin
         (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+))

Annotations for this paste:

Annotation number 1: local
Pasted by: yenda
When:4 years, 9 months ago
Share:Tweet this! | http://paste.lisp.org/+3AI0/1
Paste contents:
Raw Source | Display As
(define-module (java-certs)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system trivial)
  #:use-module (gnu packages))


(define-public java-certs
  (package
    (name "java-certs")
    (version "1.0")
    (source
     (origin
      (method url-fetch)
      (uri "file:///tmp/cacerts")
      (sha256
       (base32
        "1ksxkbvhx1ga6yr5l7h6yxx5kqnvk1cxbyg8d7xd55anbaq8vi6x"))))
    (build-system trivial)
    (arguments
     `(#:builder
       (begin
         (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+))

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.