mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: Add go-github-com-cyphar-filepath-securejoin.
* gnu/packages/golang-xyz.scm (go-github-com-cyphar-filepath-securejoin): New variable. Change-Id: Id4468f224d1051bdc4b47c0d80cbfe02fb9d5cd3
This commit is contained in:
parent
72e51acb8e
commit
38cccec3cb
1 changed files with 33 additions and 0 deletions
|
@ -1836,6 +1836,39 @@ (define-public go-github-com-cyberdelia-go-metrics-graphite
|
||||||
metrics to Graphite.")
|
metrics to Graphite.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
|
(define-public go-github-com-cyphar-filepath-securejoin
|
||||||
|
(package
|
||||||
|
(name "go-github-com-cyphar-filepath-securejoin")
|
||||||
|
(version "0.3.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/cyphar/filepath-securejoin")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "10clm1hfzndwhi7lwz5ph72apxwbxr3vg4nln5xsrrx26j6qv6v2"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-flags #~(list "-shuffle=on" "-v")
|
||||||
|
#:import-path "github.com/cyphar/filepath-securejoin"))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-stretchr-testify))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-golang-org-x-sys))
|
||||||
|
(home-page "https://github.com/cyphar/filepath-securejoin")
|
||||||
|
(synopsis "Alternative Golang @code{filepath.SecureJoin} implementation")
|
||||||
|
(description
|
||||||
|
"Package securejoin is an implementation of the
|
||||||
|
hopefully-soon-to-be-included @code{SecureJoin} helper that is meant to be
|
||||||
|
part of the \"path/filepath\" package. The purpose of this project is to
|
||||||
|
provide a @code{PoC} implementation to make the @code{SecureJoin} proposal
|
||||||
|
(@url{https://github.com/golang/go/issues/20126,https://github.com/golang/go/issues/20126})
|
||||||
|
more tangible.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public go-github-com-d4l3k-messagediff
|
(define-public go-github-com-d4l3k-messagediff
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-d4l3k-messagediff")
|
(name "go-github-com-d4l3k-messagediff")
|
||||||
|
|
Loading…
Reference in a new issue