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
This commit is contained in:
Sharlatan Hellseher 2025-09-08 23:21:54 +01:00
parent 9ee7fe20c9
commit d9c6f8d2e0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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