gnu: Add go-github-com-jtolio-crawlspace-tools.

* gnu/packages/golang-xyz.scm (go-github-com-jtolio-crawlspace-tools): New variable.

Change-Id: I95c008527f661badca84c3d51fdf51f176f8c426
This commit is contained in:
Sharlatan Hellseher 2025-11-28 13:47:36 +00:00
parent 6cbd7532a3
commit ecb989160a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -12686,6 +12686,48 @@ around the reflect package inspired by
Twisted's manhole library} .")
(license license:asl2.0)))
(define-public go-github-com-jtolio-crawlspace-tools
(package
(name "go-github-com-jtolio-crawlspace-tools")
(version "0.0.0-20240521193440-69abbbe5a93f")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jtolio/crawlspace")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "0xj782ghf0iv8r2xxmg2vrh72b02h216y4yfyi60y9z0691lrsip"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "tools")))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/jtolio/crawlspace/tools"
#:unpack-path "github.com/jtolio/crawlspace"))
(propagated-inputs
(list go-github-com-jtolio-crawlspace
go-github-com-kr-pretty
go-github-com-zeebo-goof
go-github-com-zeebo-sudo))
(home-page "https://github.com/jtolio/crawlspace")
(synopsis "Object Finder tools for crawlspace")
(description
"This package provides an additional tooling powered by
https://github.com/zeebo/goof - calling functions in binary files." )
(license license:asl2.0)))
(define-public go-github-com-juju-ansiterm
(package
(name "go-github-com-juju-ansiterm")