From 89d91ee2a04c286c442aa8636fafe7b7a85107df Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 11 Oct 2017 20:20:40 -0400 Subject: [PATCH] gnu: Add go-github-com-kballard-go-shellquote. * gnu/packages/syncthing.scm (go-github-com-kballard-go-shellquote): New variable. --- gnu/packages/syncthing.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 90cec8e116..b7acdb9fbe 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -1446,3 +1446,27 @@ (define-public go-github-com-audriusbutkevicius-cli interfaces in Go.") (home-page "https://github.com/AudriusButkevicius/cli") (license expat)))) + +(define-public go-github-com-kballard-go-shellquote + (let ((commit "cd60e84ee657ff3dc51de0b4f55dd299a3e136f2") + (revision "0")) + (package + (name "go-github-com-kballard-go-shellquote") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kballard/go-shellquote.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xjpin4jq1zl84dcn96xhjmn9bsfyszf6g9aqyj2dc0xfi6c88y0")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/kballard/go-shellquote")) + (synopsis "Shell-style string joins and splits") + (description "Shellquote provides utilities for joining/splitting strings +using sh's word-splitting rules.") + (home-page "https://github.com/kballard/go-shellquote") + (license expat))))