From 91e0f01f0eb8dee933b954da9ea1c3fcf8555531 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 26 Jun 2024 23:19:03 +0100 Subject: gnu: go-github-com-audriusbutkevicius-recli: Move to golang-xyz. * gnu/packages/syncthing.scm (go-github-com-audriusbutkevicius-recli): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I1494e60367873ba5ddbfe0725cd8a0ed02d8cb9e --- gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++ gnu/packages/syncthing.scm | 26 -------------------------- 2 files changed, 29 insertions(+), 26 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index cd945fe006..47bd746731 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -522,6 +522,35 @@ optimized for sparse nodes of @url{http://en.wikipedia.org/wiki/Radix_tree,radix tree}.") (license license:expat))) +(define-public go-github-com-audriusbutkevicius-recli + (package + (name "go-github-com-audriusbutkevicius-recli") + (version "0.0.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AudriusButkevicius/recli") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1m1xna1kb78pkmr1lfmvvnpk9j7c4x71j3a7c6vj7zpzc4srpsmf")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/AudriusButkevicius/recli")) + (native-inputs + (list go-github-com-pkg-errors + go-github-com-urfave-cli)) + (home-page "https://github.com/AudriusButkevicius/recli") + (synopsis "Reflection-based CLI generator") + (description + "For a given struct, @code{recli} builds a set of @code{urfave/cli} +commands which allows you to modify it from the command line. It is useful +for generating command line clients for your application configuration that is +stored in a Go struct.") + (license license:mpl2.0))) + (define-public go-github-com-benbjohnson-clock (package (name "go-github-com-benbjohnson-clock") diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 4314cca93a..cd88abe368 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -213,32 +213,6 @@ notification area icon for Syncthing. Supported Syncthing features: (define-public qsyncthingtray (deprecated-package "qsyncthingtray" syncthing-gtk)) -(define-public go-github-com-audriusbutkevicius-recli - (package - (name "go-github-com-audriusbutkevicius-recli") - (version "0.0.5") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/AudriusButkevicius/recli") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1m1xna1kb78pkmr1lfmvvnpk9j7c4x71j3a7c6vj7zpzc4srpsmf")))) - (build-system go-build-system) - (inputs - (list go-github-com-pkg-errors go-github-com-urfave-cli)) - (arguments - `(#:import-path "github.com/AudriusButkevicius/recli")) - (synopsis "Reflection-based CLI generator") - (description "For a given struct, @code{recli} builds a set of -@code{urfave/cli} commands which allows you to modify it from the command line. -It is useful for generating command line clients for your application -configuration that is stored in a Go struct.") - (home-page "https://github.com/AudriusButkevicius/recli") - (license mpl2.0))) - (define-public go-github-com-calmh-du (package (name "go-github-com-calmh-du") -- cgit v1.2.3