~ruther/guix-local

d9c6f8d2e09816ff602f4e426433be91d294209e — Sharlatan Hellseher 7 months ago 9ee7fe2
gnu: openrdap: Improve package.

* gnu/packages/networking.scm (openrdap): Fix indentation.
[arguments] <install-source?>: As for final executable avoid it.
<test-subdirs>: Test the whole module.
[native-inputs]: Move everything from [propagated-inputs] here.
[propagated-inputs]: Drop all.

Change-Id: I115d982c3ff02cc8a89128975e1ed8dd6a1a803d
1 files changed, 11 insertions(+), 8 deletions(-)

M gnu/packages/networking.scm
M gnu/packages/networking.scm => gnu/packages/networking.scm +11 -8
@@ 5225,21 5225,24 @@ recording packets that are dropped by the kernel.  It provides the commands
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/openrdap/rdap")
             (commit (string-append "v" version))))
              (url "https://github.com/openrdap/rdap")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1w3kwxh3hvkp5x1m6i4ijydmpfpibgf9jkviqrvpcadh335989hn"))))
    (build-system go-build-system)
    (arguments
     (list
      #:install-source? #f
      #:import-path "github.com/openrdap/rdap/cmd/rdap"
      #:unpack-path "github.com/openrdap/rdap"
      #:import-path "github.com/openrdap/rdap/cmd/rdap"))
    (propagated-inputs (list go-golang-org-x-crypto
                             go-github-com-mitchellh-go-homedir
                             go-github-com-jarcoal-httpmock
                             go-github-com-davecgh-go-spew
                             go-github-com-alecthomas-kingpin-v2))
      #:test-subdirs #~(list "../../...")))     ;test whole libary, starting from import-path
    (native-inputs
     (list go-github-com-alecthomas-kingpin-v2
           go-github-com-davecgh-go-spew
           go-github-com-jarcoal-httpmock
           go-github-com-mitchellh-go-homedir
           go-golang-org-x-crypto))
    (home-page "https://www.openrdap.org/")
    (synopsis "Command line RDAP client")
    (description