File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
pkgs/by-name/at/atproto-goat Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildGoModule ,
4+ fetchFromGitHub ,
5+ unstableGitUpdater ,
6+ } :
7+
8+ buildGoModule rec {
9+ pname = "atproto-goat" ;
10+ version = "0-unstable-2024-10-08" ;
11+
12+ src = fetchFromGitHub {
13+ owner = "bluesky-social" ;
14+ repo = "indigo" ;
15+ rev = "06bacb465af714feb77609566aba15ab1ed41e24" ;
16+ hash = "sha256-wWsE3sAGZQmOBVqTgy4RjoU8zmtuvyQIj9DjwSbtmKw=" ;
17+ } ;
18+
19+ postPatch = ''
20+ substituteInPlace cmd/goat/main.go \
21+ --replace-fail "versioninfo.Short()" '"${ version } "' \
22+ --replace-fail '"github.com/carlmjohnson/versioninfo"' ""
23+ '' ;
24+
25+ vendorHash = "sha256-T+jtxubVKskrLGTUa4RI24o/WTSFCBk60HhyCFujPOI=" ;
26+
27+ subPackages = [ "cmd/goat" ] ;
28+
29+ passthru . updateScript = unstableGitUpdater {
30+ hardcodeZeroVersion = true ;
31+ } ;
32+
33+ meta = {
34+ description = "Go AT protocol CLI tool" ;
35+ homepage = "https://github.com/bluesky-social/indigo/blob/main/cmd/goat/README.md" ;
36+ license = with lib . licenses ; [
37+ mit
38+ asl20
39+ ] ;
40+ maintainers = with lib . maintainers ; [ pyrox0 ] ;
41+ mainProgram = "goat" ;
42+ } ;
43+ }
You can’t perform that action at this time.
0 commit comments