Archived
1
0
Fork 0

gnu: skopeo: Update to 1.2.0.

* gnu/packages/virtualization.scm (skopeo): Update to 1.2.0.
[source]: Update uri.
[arguments]: Update #:import-path.
<phases>: In the 'build' phase, update make target.
[home-page]: Update to current.
This commit is contained in:
Jelle Licht 2020-10-01 14:23:21 +02:00
parent 031f705a43
commit e65991a363
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -1592,16 +1592,16 @@ Open Container Initiative (OCI) image layout and its tagged images.")
(define-public skopeo (define-public skopeo
(package (package
(name "skopeo") (name "skopeo")
(version "0.1.40") (version "1.2.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/projectatomic/skopeo") (url "https://github.com/containers/skopeo")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1bagirzdzjhicn5dr691092ac3q6lhz3xngjzgqiqkxnvpz7p6cn")))) "1v7k3ki10i6082r7zswblyirx6zck674y6bw3plssw4p1l2611rd"))))
(build-system go-build-system) (build-system go-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) `(("pkg-config" ,pkg-config)))
@ -1615,7 +1615,7 @@ Open Container Initiative (OCI) image layout and its tagged images.")
("glib" ,glib) ("glib" ,glib)
("gpgme" ,gpgme))) ("gpgme" ,gpgme)))
(arguments (arguments
'(#:import-path "github.com/projectatomic/skopeo" '(#:import-path "github.com/containers/skopeo"
#:install-source? #f #:install-source? #f
#:tests? #f ; The tests require Docker #:tests? #f ; The tests require Docker
#:phases #:phases
@ -1624,13 +1624,13 @@ Open Container Initiative (OCI) image layout and its tagged images.")
(lambda* (#:key import-path #:allow-other-keys) (lambda* (#:key import-path #:allow-other-keys)
(chdir (string-append "src/" import-path)) (chdir (string-append "src/" import-path))
;; TODO: build manpages with 'go-md2man'. ;; TODO: build manpages with 'go-md2man'.
(invoke "make" "binary-local"))) (invoke "make" "bin/skopeo")))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(invoke "make" "install-binary" "install-completions" (invoke "make" "install-binary" "install-completions"
(string-append "PREFIX=" out)))))))) (string-append "PREFIX=" out))))))))
(home-page "https://github.com/projectatomic/skopeo") (home-page "https://github.com/containers/skopeo")
(synopsis "Interact with container images and container image registries") (synopsis "Interact with container images and container image registries")
(description (description
"@command{skopeo} is a command line utility providing various operations "@command{skopeo} is a command line utility providing various operations