guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/11: gnu: scrypt: Install licence file with documentation.


From: guix-commits
Subject: 05/11: gnu: scrypt: Install licence file with documentation.
Date: Sat, 29 Aug 2020 22:57:15 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit a0484d9ff7866e469ae2044dc2d3fd4bd77ee4c2
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Aug 30 04:03:47 2020 +0200

    gnu: scrypt: Install licence file with documentation.
    
    * gnu/packages/crypto.scm (scrypt)[arguments]: Add a
    #:license-file-regexp and install the documentation to the same
    standard location.
---
 gnu/packages/crypto.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 02ad610..eb00326 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -529,7 +529,8 @@ user's graphical desktop.")
           "0xy5yhrwwv13skv9im9vm76rybh9f29j2dh4hlh2x01gvbkza8a6"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
+     `(#:license-file-regexp "COPYRIGHT"
+       #:phases (modify-phases %standard-phases
         (add-after 'unpack 'patch-command-invocations
           (lambda _
             (substitute* "Makefile.in"
@@ -538,8 +539,8 @@ user's graphical desktop.")
         (add-after 'install 'install-docs
           (lambda* (#:key outputs #:allow-other-keys)
             (let* ((out (assoc-ref %outputs "out"))
-                   (misc (string-append out "/share/doc/scrypt")))
-              (install-file "FORMAT" misc)
+                   (doc (string-append out "/share/doc/" ,name "-" ,version)))
+              (install-file "FORMAT" doc)
               #t))))))
     (inputs
      `(("openssl" ,openssl)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]