mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 10:16:45 +01:00
gnu: Add go-github-com-facebookgo-atomicfile.
* gnu/packages/golang-xyz.scm (go-github-com-facebookgo-atomicfile): New variable. Change-Id: Ib6c685b5fa2b42ef0fe057e24547c1244ed449a4
This commit is contained in:
parent
ff1bb647b5
commit
6236ae32aa
1 changed files with 35 additions and 0 deletions
|
@ -1772,6 +1772,41 @@ (define-public go-github-com-expr-lang-expr
|
||||||
and speed.")
|
and speed.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-facebookgo-atomicfile
|
||||||
|
(package
|
||||||
|
(name "go-github-com-facebookgo-atomicfile")
|
||||||
|
(version "0.0.0-20151019160806-2de1f203e7d5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/facebookarchive/atomicfile")
|
||||||
|
(commit (go-version->git-ref version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1vsx6r6y601jxvjqc8msbpr5v1037dfxxdd8h1q3s8wm6xhvj2v6"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/facebookgo/atomicfile"))
|
||||||
|
(home-page "https://github.com/facebookgo/atomicfile")
|
||||||
|
(synopsis "Atomically written/replaced file")
|
||||||
|
(description
|
||||||
|
"Package atomicfile provides the ability to write a file with an eventual
|
||||||
|
rename on Close (using @code{os.Rename}). This allows for a file to always be
|
||||||
|
in a consistent state and never represent an in-progress write.")
|
||||||
|
;; patents
|
||||||
|
;;
|
||||||
|
;; Additional Grant of Patent Rights Version 2
|
||||||
|
;; <...>
|
||||||
|
;; Facebook, Inc. ("Facebook") hereby grants to each recipient of the
|
||||||
|
;; Software ("you") a perpetual, worldwide, royalty-free, non-exclusive,
|
||||||
|
;; irrevocable (subject to the termination provision below) license under
|
||||||
|
;; any Necessary Claims, to make, have made, use, sell, offer to sell,
|
||||||
|
;; import, and otherwise transfer the Software.
|
||||||
|
;; <...>
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public go-github-com-facette-natsort
|
(define-public go-github-com-facette-natsort
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-facette-natsort")
|
(name "go-github-com-facette-natsort")
|
||||||
|
|
Loading…
Reference in a new issue