2017-10-11 06:38:22 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2016 Petter <petter@mykolab.ch>
|
|
|
|
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
|
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages syncthing)
|
|
|
|
#:use-module (guix build-system go)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix git-download)
|
|
|
|
#:use-module (guix licenses))
|
|
|
|
|
|
|
|
(define-public go-github-com-audriusbutkevicius-go-nat-pmp
|
|
|
|
(let ((commit "452c97607362b2ab5a7839b8d1704f0396b640ca")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-audriusbutkevicius-go-nat-pmp")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/AudriusButkevicius/go-nat-pmp")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1accmpl1llk16a19nlyy991fqrgfay6l53gb64hgmdfmqljdvbk7"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/AudriusButkevicius/go-nat-pmp"))
|
|
|
|
(synopsis "Port mapping and discovery of external IP address")
|
|
|
|
(description "This packages provides a Go client for the NAT-PMP internet
|
|
|
|
protocol for port mapping and discovering the external IP address of a
|
|
|
|
firewall.")
|
|
|
|
(home-page "https://github.com/AudriusButkevicius/go-nat-pmp")
|
|
|
|
(license asl2.0))))
|
2017-10-11 06:43:08 +02:00
|
|
|
|
|
|
|
(define-public go-github-com-bkaradzic-go-lz4
|
|
|
|
(let ((commit "7224d8d8f27ef618c0a95f1ae69dbb0488abc33a")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-bkaradzic-go-lz4")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/bkaradzic/go-lz4")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"10lmya17vdqg2pvqni0p73iahni48s1v11ya9a0hcz4jh5vw4dkb"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/bkaradzic/go-lz4"))
|
|
|
|
(synopsis "LZ4 compression algorithm")
|
|
|
|
(description "This package provides @code{go-lz4}, a Go implementation of
|
|
|
|
the LZ4 compression algorithm.")
|
|
|
|
(home-page "https://github.com/bkaradzic/go-lz4")
|
|
|
|
(license bsd-2))))
|
2017-10-11 06:45:46 +02:00
|
|
|
|
|
|
|
(define-public go-github-com-calmh-du
|
|
|
|
(package
|
|
|
|
(name "go-github-com-calmh-du")
|
|
|
|
(version "1.0.1")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/calmh/du")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0qb3a6y3p9nkyn3s66k6zcm16y8n8578qh23ddj14cxf2scrr2n2"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/calmh/du"))
|
|
|
|
(synopsis "Get total and available disk space of a given volume")
|
|
|
|
(description "This is a Go implementation of `du`. It provides disk usage
|
|
|
|
information, such as how much storage space is available, free, and used.")
|
|
|
|
(home-page "https://github.com/calmh/du")
|
|
|
|
(license public-domain)))
|
2017-10-11 06:47:11 +02:00
|
|
|
|
|
|
|
(define-public go-github-com-calmh-xdr
|
|
|
|
(let ((commit "08e072f9cb164f943a92eb59f90f3abc64ac6e8f")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-calmh-xdr")
|
|
|
|
(version (git-version "2.0.1" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/calmh/xdr")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"072wqdncz3nd4a3zkhvzzx1y3in1lm29wfvl0d8wrnqs5pyqh0mh"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/calmh/xdr"))
|
|
|
|
(synopsis "XDR marshalling and unmarshalling")
|
|
|
|
(description "XDR is an External Data Representation (XDR)
|
|
|
|
marshalling and unmarshalling library in Go. It uses code generation and not
|
|
|
|
reflection.")
|
|
|
|
(home-page "https://github.com/calmh/xdr")
|
|
|
|
(license expat))))
|
2017-10-11 06:47:45 +02:00
|
|
|
|
|
|
|
(define-public go-github-com-d4l3k-messagediff
|
|
|
|
(let ((commit "29f32d820d112dbd66e58492a6ffb7cc3106312b")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-d4l3k-messagediff")
|
|
|
|
(version (git-version "1.1.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/d4l3k/messagediff")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"104hl8x57ciaz7mzafg1vp9qggxcyfm8hsv9bmlihbz9ml3nyr8v"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/d4l3k/messagediff"))
|
|
|
|
(synopsis "Diff arbitrary Go structs")
|
|
|
|
(description "Messagediff is a library for calculating diffs of arbitrary
|
|
|
|
structs in the Go programming language.")
|
|
|
|
(home-page "https://github.com/d4l3k/messagediff")
|
|
|
|
(license expat))))
|
2017-10-11 06:48:55 +02:00
|
|
|
|
|
|
|
(define-public go-github-com-edsrzf-mmap-go
|
|
|
|
(let ((commit "0bce6a6887123b67a60366d2c9fe2dfb74289d2e")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-edsrzf-mmap-go")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/edsrzf/mmap-go")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1am4m2k451bksnbiqj6lxknk4lsgmrhv0q3ajqac818vj0cpfgs9"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/edsrzf/mmap-go"))
|
|
|
|
(synopsis "Go implementation of mmap")
|
|
|
|
(description "This packages provides a Go implementation of mmap.")
|
|
|
|
(home-page "https://github.com/edsrzf/mmap-go")
|
|
|
|
(license bsd-3))))
|
2017-10-11 06:50:01 +02:00
|
|
|
|
|
|
|
(define-public go-github-com-gobwas-glob
|
|
|
|
(let ((commit "51eb1ee00b6d931c66d229ceeb7c31b985563420")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-gobwas-glob")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/gobwas/glob")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"090wzpwsjana1qas8ipwh1pj959gvc4b7vwybzi01f3bmd79jwlp"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/gobwas/glob"))
|
|
|
|
(synopsis "Go globbing library")
|
|
|
|
(description "This packages provides a Go implementation of globs.")
|
|
|
|
(home-page "https://github.com/gobwas/glob")
|
|
|
|
(license expat))))
|
2017-10-11 06:50:55 +02:00
|
|
|
|
|
|
|
(define-public go-github-com-gogo-protobuf-protoc-gen-gogo
|
|
|
|
(let ((commit "efccd33a0c20aa078705571d5ddbfa14c8395a63")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-gogo-protobuf-protoc-gen-gogo")
|
|
|
|
(version (git-version "0.2" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/gogo/protobuf")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"09kfa3aqmhh7p0rc6wd4fw5cjccidsk9vgcy13albv0g8vnbmmgw"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/gogo/protobuf/protoc-gen-gogo"
|
|
|
|
#:unpack-path "github.com/gogo/protobuf"))
|
|
|
|
(synopsis "Protocol Buffers for Go with Gadgets")
|
|
|
|
(description "Gogoprotobuf is a fork of golang/protobuf with extra code
|
|
|
|
generation features. This code generation is used to achieve:
|
|
|
|
@itemize
|
|
|
|
@item fast marshalling and unmarshalling
|
|
|
|
@item more canonical Go structures
|
|
|
|
@item goprotobuf compatibility
|
|
|
|
@item less typing by optionally generating extra helper code
|
|
|
|
@item peace of mind by optionally generating test and benchmark code
|
|
|
|
@item other serialization formats
|
|
|
|
@end itemize")
|
|
|
|
(home-page "https://github.com/gogo/protobuf")
|
|
|
|
(license bsd-3))))
|