[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40154] [PATCH] gnu: Add hash-extender.
From: |
Leo Famulari |
Subject: |
[bug#40154] [PATCH] gnu: Add hash-extender. |
Date: |
Fri, 20 Mar 2020 16:21:03 -0400 |
On Fri, Mar 20, 2020 at 08:32:49PM +0100, Jakub Kądziołka wrote:
> * gnu/packages/crypto.scm (hash-extender): New variable.
Thanks!
> ---
> gnu/packages/crypto.scm | 39 +++++++++++++++++++
> .../patches/hash-extender-test-suite.patch | 12 ++++++
Remember to register the patch file in 'gnu/local.mk' and mention it in
the commit message.
> + (replace 'install
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((outdir (assoc-ref outputs "out"))
> + (bindir (string-append outdir "/bin")))
> + (install-file "hash_extender" bindir)))))))
Can you install the README.md too? It would go under something like:
(string-append "share/doc/hash-extender" ,version "/")
... so that it fits correctly in the user's profile.
> diff --git a/gnu/packages/patches/hash-extender-test-suite.patch
> b/gnu/packages/patches/hash-extender-test-suite.patch
And I would consider submitting this patch upstream.