From f1c8df4ee950efc4ad05ea2d4add7562ba971002 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 16 May 2024 23:13:44 +0100 Subject: gnu: Add go-github-com-elgris-jsondiff. * gnu/packages/golang-check.scm (go-github-com-elgris-jsondiff): New variable. Change-Id: Ie0b85240bd0a9e68f9274edab6a15f34f42de26c --- gnu/packages/golang-check.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 12a7a24c21..9e537d7d17 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -192,6 +192,35 @@ style). @end itemize") (license license:isc))) +(define-public go-github-com-elgris-jsondiff + (package + (name "go-github-com-elgris-jsondiff") + (version "0.0.0-20160530203242-765b5c24c302") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elgris/jsondiff") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jm1q0s531hmkqdx8jqphfpmzysn44aphkpwlzqwp3hkz89g4d4q")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/elgris/jsondiff")) + (native-inputs + (list go-github-com-stretchr-testify)) + (propagated-inputs + (list go-github-com-mgutz-ansi)) + (home-page "https://github.com/elgris/jsondiff") + (synopsis "JSON diff diagnostics for Golang") + (description + "This package provides a simple little tool that produces readable diff +of 2 JSON-able and convertible to @code{map[string]interface{}} objects. +Useful for diagnostics or debugging") + (license license:expat))) + (define-public go-github-com-felixge-fgprof (package (name "go-github-com-felixge-fgprof") -- cgit v1.2.3