gnu: Add go-github-com-docker-go-units.

* gnu/packages/golang.scm (go-github-com-docker-go-units): New variable.
This commit is contained in:
Efraim Flashner 2022-02-22 16:00:21 +02:00
parent 18b0527765
commit 092dba879a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3892,6 +3892,28 @@ (define-public go-github-com-docker-go-connections
translation (NAT), proxies, sockets, and transport layer security (TLS).")
(license license:asl2.0))))
(define-public go-github-com-docker-go-units
(package
(name "go-github-com-docker-go-units")
(version "0.4.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/docker/go-units")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0k8gja8ql4pqg5rzmqvka42vjfs6rzablak87whcnqba6qxpimvz"))))
(build-system go-build-system)
(arguments '(#:import-path "github.com/docker/go-units"))
(home-page "https://github.com/docker/go-units")
(synopsis "Parse and print size and time units in human-readable format")
(description
"@code{go-units} is a library to transform human friendly measurements into
machine friendly values.")
(license license:asl2.0)))
(define-public go-github-com-docker-machine
(let ((commit "7b7a141da84480342357c51838be142bf183b095")
(revision "0"))