forked from tangled.org/core
this repo has no description

flake.nix,nix: use gomod2nix to build tangled packages

Change-Id: lwznzstzpoqqlvxnxsoulpokwxwkuwzw

authored by ptr.pet and committed by Tangled 7c12eebe ee4ec5d8

+58 -3
flake.lock
··· 20 "type": "github" 21 } 22 }, 23 "htmx-src": { 24 "flake": false, 25 "locked": { ··· 101 }, 102 "nixpkgs": { 103 "locked": { 104 - "lastModified": 1746904237, 105 - "narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=", 106 "owner": "nixos", 107 "repo": "nixpkgs", 108 - "rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956", 109 "type": "github" 110 }, 111 "original": { ··· 118 "root": { 119 "inputs": { 120 "gitignore": "gitignore", 121 "htmx-src": "htmx-src", 122 "htmx-ws-src": "htmx-ws-src", 123 "ibm-plex-mono-src": "ibm-plex-mono-src", ··· 139 "original": { 140 "type": "tarball", 141 "url": "https://sqlite.org/2024/sqlite-amalgamation-3450100.zip" 142 } 143 } 144 },
··· 20 "type": "github" 21 } 22 }, 23 + "flake-utils": { 24 + "inputs": { 25 + "systems": "systems" 26 + }, 27 + "locked": { 28 + "lastModified": 1694529238, 29 + "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", 30 + "owner": "numtide", 31 + "repo": "flake-utils", 32 + "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", 33 + "type": "github" 34 + }, 35 + "original": { 36 + "owner": "numtide", 37 + "repo": "flake-utils", 38 + "type": "github" 39 + } 40 + }, 41 + "gomod2nix": { 42 + "inputs": { 43 + "flake-utils": "flake-utils", 44 + "nixpkgs": [ 45 + "nixpkgs" 46 + ] 47 + }, 48 + "locked": { 49 + "lastModified": 1751702058, 50 + "narHash": "sha256-/GTdqFzFw/Y9DSNAfzvzyCMlKjUyRKMPO+apIuaTU4A=", 51 + "owner": "nix-community", 52 + "repo": "gomod2nix", 53 + "rev": "664ad7a2df4623037e315e4094346bff5c44e9ee", 54 + "type": "github" 55 + }, 56 + "original": { 57 + "owner": "nix-community", 58 + "repo": "gomod2nix", 59 + "type": "github" 60 + } 61 + }, 62 "htmx-src": { 63 "flake": false, 64 "locked": { ··· 140 }, 141 "nixpkgs": { 142 "locked": { 143 + "lastModified": 1751984180, 144 + "narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=", 145 "owner": "nixos", 146 "repo": "nixpkgs", 147 + "rev": "9807714d6944a957c2e036f84b0ff8caf9930bc0", 148 "type": "github" 149 }, 150 "original": { ··· 157 "root": { 158 "inputs": { 159 "gitignore": "gitignore", 160 + "gomod2nix": "gomod2nix", 161 "htmx-src": "htmx-src", 162 "htmx-ws-src": "htmx-ws-src", 163 "ibm-plex-mono-src": "ibm-plex-mono-src", ··· 179 "original": { 180 "type": "tarball", 181 "url": "https://sqlite.org/2024/sqlite-amalgamation-3450100.zip" 182 + } 183 + }, 184 + "systems": { 185 + "locked": { 186 + "lastModified": 1681028828, 187 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 188 + "owner": "nix-systems", 189 + "repo": "default", 190 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 191 + "type": "github" 192 + }, 193 + "original": { 194 + "owner": "nix-systems", 195 + "repo": "default", 196 + "type": "github" 197 } 198 } 199 },
+13 -1
flake.nix
··· 3 4 inputs = { 5 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 6 indigo = { 7 url = "github:oppiliappan/indigo"; 8 flake = false; ··· 42 outputs = { 43 self, 44 nixpkgs, 45 indigo, 46 htmx-src, 47 htmx-ws-src, ··· 57 58 mkPackageSet = pkgs: 59 pkgs.lib.makeScope pkgs.newScope (self: { 60 - goModHash = "sha256-SLi+nALwCd/Lzn3aljwPqCo2UaM9hl/4OAjcHQLt2Bk="; 61 inherit (gitignore.lib) gitignoreSource; 62 sqlite-lib = self.callPackage ./nix/pkgs/sqlite-lib.nix { 63 inherit (pkgs) gcc; 64 inherit sqlite-lib-src; ··· 170 type = "app"; 171 program = toString (pkgs.writeShellScript "vm" '' 172 ${pkgs.nixos-shell}/bin/nixos-shell --flake .#vm 173 ''); 174 }; 175 });
··· 3 4 inputs = { 5 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 6 + gomod2nix = { 7 + url = "github:nix-community/gomod2nix"; 8 + inputs.nixpkgs.follows = "nixpkgs"; 9 + }; 10 indigo = { 11 url = "github:oppiliappan/indigo"; 12 flake = false; ··· 46 outputs = { 47 self, 48 nixpkgs, 49 + gomod2nix, 50 indigo, 51 htmx-src, 52 htmx-ws-src, ··· 62 63 mkPackageSet = pkgs: 64 pkgs.lib.makeScope pkgs.newScope (self: { 65 inherit (gitignore.lib) gitignoreSource; 66 + inherit (gomod2nix.legacyPackages.${pkgs.system}) buildGoApplication; 67 + modules = ./nix/gomod2nix.toml; 68 sqlite-lib = self.callPackage ./nix/pkgs/sqlite-lib.nix { 69 inherit (pkgs) gcc; 70 inherit sqlite-lib-src; ··· 176 type = "app"; 177 program = toString (pkgs.writeShellScript "vm" '' 178 ${pkgs.nixos-shell}/bin/nixos-shell --flake .#vm 179 + ''); 180 + }; 181 + gomod2nix = { 182 + type = "app"; 183 + program = toString (pkgs.writeShellScript "gomod2nix" '' 184 + ${gomod2nix.legacyPackages.${system}.gomod2nix}/bin/gomod2nix generate --outdir ./nix 185 ''); 186 }; 187 });
+454
nix/gomod2nix.toml
···
··· 1 + schema = 3 2 + 3 + [mod] 4 + [mod."dario.cat/mergo"] 5 + version = "v1.0.1" 6 + hash = "sha256-wcG6+x0k6KzOSlaPA+1RFxa06/RIAePJTAjjuhLbImw=" 7 + [mod."github.com/Blank-Xu/sql-adapter"] 8 + version = "v1.1.1" 9 + hash = "sha256-9AiQhXoNPCiViV+p5aa3qGFkYU4rJNbADvNdYGq4GA4=" 10 + [mod."github.com/Microsoft/go-winio"] 11 + version = "v0.6.2" 12 + hash = "sha256-tVNWDUMILZbJvarcl/E7tpSnkn7urqgSHa2Eaka5vSU=" 13 + [mod."github.com/ProtonMail/go-crypto"] 14 + version = "v1.2.0" 15 + hash = "sha256-5fKgWUz6BoyFNNZ1OD9QjhBrhNEBCuVfO2WqH+X59oo=" 16 + [mod."github.com/alecthomas/chroma/v2"] 17 + version = "v2.19.0" 18 + hash = "sha256-dxsu43a+PvHg2jYR0Tfys6a8x6IVR+9oCGAh+fvL3SM=" 19 + replaced = "github.com/oppiliappan/chroma/v2" 20 + [mod."github.com/anmitsu/go-shlex"] 21 + version = "v0.0.0-20200514113438-38f4b401e2be" 22 + hash = "sha256-L3Ak4X2z7WXq7vMKuiHCOJ29nlpajUQ08Sfb9T0yP54=" 23 + [mod."github.com/avast/retry-go/v4"] 24 + version = "v4.6.1" 25 + hash = "sha256-PeZc8k4rDV64+k8nZt/oy1YNVbLevltXP3ZD1jf6Z6k=" 26 + [mod."github.com/aymerick/douceur"] 27 + version = "v0.2.0" 28 + hash = "sha256-NiBX8EfOvLXNiK3pJaZX4N73YgfzdrzRXdiBFe3X3sE=" 29 + [mod."github.com/beorn7/perks"] 30 + version = "v1.0.1" 31 + hash = "sha256-h75GUqfwJKngCJQVE5Ao5wnO3cfKD9lSIteoLp/3xJ4=" 32 + [mod."github.com/bluekeyes/go-gitdiff"] 33 + version = "v0.8.2" 34 + hash = "sha256-GWm5i1ukuBukV0GMF1rffpbOSSXZdfg6/0pABMiGzLQ=" 35 + replaced = "tangled.sh/oppi.li/go-gitdiff" 36 + [mod."github.com/bluesky-social/indigo"] 37 + version = "v0.0.0-20250520232546-236dd575c91e" 38 + hash = "sha256-SmwhGkAKcB/oGwYP68U5192fAUhui6D0GWYiJOeB1/0=" 39 + [mod."github.com/bluesky-social/jetstream"] 40 + version = "v0.0.0-20241210005130-ea96859b93d1" 41 + hash = "sha256-AiapbrkjXboIKc5QNiWH0KyNs0zKnn6UlGwWFlkUfm0=" 42 + [mod."github.com/bmatcuk/doublestar/v4"] 43 + version = "v4.7.1" 44 + hash = "sha256-idO38nWZtmxvE0CgdziepwFM+Xc70Isr6NiKEZjHOjA=" 45 + [mod."github.com/carlmjohnson/versioninfo"] 46 + version = "v0.22.5" 47 + hash = "sha256-tf7yKVFTUPmGKBLK43bjyIRQUboCYduh3I5HXE5+LPw=" 48 + [mod."github.com/casbin/casbin/v2"] 49 + version = "v2.103.0" 50 + hash = "sha256-adYds8Arni/ioPM9J0F+wAlJqhLLtCV9epv7d7tDvAQ=" 51 + [mod."github.com/casbin/govaluate"] 52 + version = "v1.3.0" 53 + hash = "sha256-vDUFEGt8oL4n/PHwlMZPjmaLvcpGTN4HEIRGl2FPxUA=" 54 + [mod."github.com/cespare/xxhash/v2"] 55 + version = "v2.3.0" 56 + hash = "sha256-7hRlwSR+fos1kx4VZmJ/7snR7zHh8ZFKX+qqqqGcQpY=" 57 + [mod."github.com/cloudflare/circl"] 58 + version = "v1.6.0" 59 + hash = "sha256-a+SVfnHYC8Fb+NQLboNg5P9sry+WutzuNetVHFVAAo0=" 60 + [mod."github.com/containerd/errdefs"] 61 + version = "v1.0.0" 62 + hash = "sha256-wMZGoeqvRhuovYCJx0Js4P3qFCNTZ/6Atea/kNYoPMI=" 63 + [mod."github.com/containerd/errdefs/pkg"] 64 + version = "v0.3.0" 65 + hash = "sha256-BILJ0Be4cc8xfvLPylc/Pvwwa+w88+Hd0njzetUCeTg=" 66 + [mod."github.com/containerd/log"] 67 + version = "v0.1.0" 68 + hash = "sha256-vuE6Mie2gSxiN3jTKTZovjcbdBd1YEExb7IBe3GM+9s=" 69 + [mod."github.com/cyphar/filepath-securejoin"] 70 + version = "v0.4.1" 71 + hash = "sha256-NOV6MfbkcQbfhNmfADQw2SJmZ6q1nw0wwg8Pm2tf2DM=" 72 + [mod."github.com/davecgh/go-spew"] 73 + version = "v1.1.2-0.20180830191138-d8f796af33cc" 74 + hash = "sha256-fV9oI51xjHdOmEx6+dlq7Ku2Ag+m/bmbzPo6A4Y74qc=" 75 + [mod."github.com/decred/dcrd/dcrec/secp256k1/v4"] 76 + version = "v4.4.0" 77 + hash = "sha256-qrhEIwhDll3cxoVpMbm1NQ9/HTI42S7ms8Buzlo5HCg=" 78 + [mod."github.com/dgraph-io/ristretto"] 79 + version = "v0.2.0" 80 + hash = "sha256-bnpxX+oO/Qf7IJevA0gsbloVoqRx+5bh7RQ9d9eLNYw=" 81 + [mod."github.com/dgryski/go-rendezvous"] 82 + version = "v0.0.0-20200823014737-9f7001d12a5f" 83 + hash = "sha256-n/7xo5CQqo4yLaWMSzSN1Muk/oqK6O5dgDOFWapeDUI=" 84 + [mod."github.com/distribution/reference"] 85 + version = "v0.6.0" 86 + hash = "sha256-gr4tL+qz4jKyAtl8LINcxMSanztdt+pybj1T+2ulQv4=" 87 + [mod."github.com/dlclark/regexp2"] 88 + version = "v1.11.5" 89 + hash = "sha256-jN5+2ED+YbIoPIuyJ4Ou5pqJb2w1uNKzp5yTjKY6rEQ=" 90 + [mod."github.com/docker/docker"] 91 + version = "v28.2.2+incompatible" 92 + hash = "sha256-5FnlTcygdxpHyFB0/7EsYocFhADUAjC/Dku0Xn4W8so=" 93 + [mod."github.com/docker/go-connections"] 94 + version = "v0.5.0" 95 + hash = "sha256-aGbMRrguh98DupIHgcpLkVUZpwycx1noQXbtTl5Sbms=" 96 + [mod."github.com/docker/go-units"] 97 + version = "v0.5.0" 98 + hash = "sha256-iK/V/jJc+borzqMeqLY+38Qcts2KhywpsTk95++hImE=" 99 + [mod."github.com/dustin/go-humanize"] 100 + version = "v1.0.1" 101 + hash = "sha256-yuvxYYngpfVkUg9yAmG99IUVmADTQA0tMbBXe0Fq0Mc=" 102 + [mod."github.com/emirpasic/gods"] 103 + version = "v1.18.1" 104 + hash = "sha256-hGDKddjLj+5dn2woHtXKUdd49/3xdsqnhx7VEdCu1m4=" 105 + [mod."github.com/felixge/httpsnoop"] 106 + version = "v1.0.4" 107 + hash = "sha256-c1JKoRSndwwOyOxq9ddCe+8qn7mG9uRq2o/822x5O/c=" 108 + [mod."github.com/gliderlabs/ssh"] 109 + version = "v0.3.8" 110 + hash = "sha256-FW+91qCB3rfTm0I1VmqfwA7o+2kDys2JHOudKKyxWwc=" 111 + [mod."github.com/go-chi/chi/v5"] 112 + version = "v5.2.0" 113 + hash = "sha256-rCZ2W5BdWwjtv7SSpHOgpYEHf9ketzdPX+r2500JL8A=" 114 + [mod."github.com/go-enry/go-enry/v2"] 115 + version = "v2.9.2" 116 + hash = "sha256-LkCSW+4+DkTok1JcOQR0rt3UKNKVn4KPaiDeatdQhCU=" 117 + [mod."github.com/go-enry/go-oniguruma"] 118 + version = "v1.2.1" 119 + hash = "sha256-DoCNyX75CuCgFnfSZs63VB4+HAIMDBgwcQglXXHRj/I=" 120 + [mod."github.com/go-git/gcfg"] 121 + version = "v1.5.1-0.20230307220236-3a3c6141e376" 122 + hash = "sha256-f4k0gSYuo0/q3WOoTxl2eFaj7WZpdz29ih6CKc8Ude8=" 123 + [mod."github.com/go-git/go-billy/v5"] 124 + version = "v5.6.2" 125 + hash = "sha256-VgbxcLkHjiSyRIfKS7E9Sn8OynCrMGUDkwFz6K2TVL4=" 126 + [mod."github.com/go-git/go-git/v5"] 127 + version = "v5.17.0" 128 + hash = "sha256-gya68abB6GtejUqr60DyU7NIGtNzHQVCAeDTYKk1evQ=" 129 + replaced = "github.com/oppiliappan/go-git/v5" 130 + [mod."github.com/go-logr/logr"] 131 + version = "v1.4.2" 132 + hash = "sha256-/W6qGilFlZNTb9Uq48xGZ4IbsVeSwJiAMLw4wiNYHLI=" 133 + [mod."github.com/go-logr/stdr"] 134 + version = "v1.2.2" 135 + hash = "sha256-rRweAP7XIb4egtT1f2gkz4sYOu7LDHmcJ5iNsJUd0sE=" 136 + [mod."github.com/go-redis/cache/v9"] 137 + version = "v9.0.0" 138 + hash = "sha256-b4S3K4KoZhF0otw6FRIOq/PTdHGrb/LumB4GKo4khsY=" 139 + [mod."github.com/goccy/go-json"] 140 + version = "v0.10.5" 141 + hash = "sha256-/EtlGihP0/7oInzMC5E0InZ4b5Ad3s4xOpqotloi3xw=" 142 + [mod."github.com/gogo/protobuf"] 143 + version = "v1.3.2" 144 + hash = "sha256-pogILFrrk+cAtb0ulqn9+gRZJ7sGnnLLdtqITvxvG6c=" 145 + [mod."github.com/golang-jwt/jwt/v5"] 146 + version = "v5.2.2" 147 + hash = "sha256-C0MhDguxWR6dQUrNVQ5xaFUReSV6CVEBAijG3b4wnX4=" 148 + [mod."github.com/golang/groupcache"] 149 + version = "v0.0.0-20241129210726-2c02b8208cf8" 150 + hash = "sha256-AdLZ3dJLe/yduoNvZiXugZxNfmwJjNQyQGsIdzYzH74=" 151 + [mod."github.com/google/uuid"] 152 + version = "v1.6.0" 153 + hash = "sha256-VWl9sqUzdOuhW0KzQlv0gwwUQClYkmZwSydHG2sALYw=" 154 + [mod."github.com/gorilla/css"] 155 + version = "v1.0.1" 156 + hash = "sha256-6JwNHqlY2NpZ0pSQTyYPSpiNqjXOdFHqrUT10sv3y8A=" 157 + [mod."github.com/gorilla/securecookie"] 158 + version = "v1.1.2" 159 + hash = "sha256-KeMHNM9emxX+N0WYiZsTii7n8sNsmjWwbnQ9SaJfTKE=" 160 + [mod."github.com/gorilla/sessions"] 161 + version = "v1.4.0" 162 + hash = "sha256-cLK2z1uOEz7Wah/LclF65ptYMqzuvaRnfIGYqtn3b7g=" 163 + [mod."github.com/gorilla/websocket"] 164 + version = "v1.5.3" 165 + hash = "sha256-vTIGEFMEi+30ZdO6ffMNJ/kId6pZs5bbyqov8xe9BM0=" 166 + [mod."github.com/hashicorp/go-cleanhttp"] 167 + version = "v0.5.2" 168 + hash = "sha256-N9GOKYo7tK6XQUFhvhImtL7PZW/mr4C4Manx/yPVvcQ=" 169 + [mod."github.com/hashicorp/go-retryablehttp"] 170 + version = "v0.7.7" 171 + hash = "sha256-XZjxncyLPwy6YBHR3DF5bEl1y72or0JDUncTIsb/eIU=" 172 + [mod."github.com/hashicorp/golang-lru"] 173 + version = "v1.0.2" 174 + hash = "sha256-yy+5botc6T5wXgOe2mfNXJP3wr+MkVlUZ2JBkmmrA48=" 175 + [mod."github.com/hashicorp/golang-lru/v2"] 176 + version = "v2.0.7" 177 + hash = "sha256-t1bcXLgrQNOYUVyYEZ0knxcXpsTk4IuJZDjKvyJX75g=" 178 + [mod."github.com/hiddeco/sshsig"] 179 + version = "v0.2.0" 180 + hash = "sha256-Yc8Ip4XxrL5plb7Lq0ziYFznteVDZnskoyOZDIMsWOU=" 181 + [mod."github.com/hpcloud/tail"] 182 + version = "v1.0.0" 183 + hash = "sha256-7ByBr/RcOwIsGPCiCUpfNwUSvU18QAY+HMnCJr8uU1w=" 184 + [mod."github.com/ipfs/bbloom"] 185 + version = "v0.0.4" 186 + hash = "sha256-4k778kBlNul2Rc4xuNQ9WA4kT0V7x5X9odZrT+2xjTU=" 187 + [mod."github.com/ipfs/boxo"] 188 + version = "v0.30.0" 189 + hash = "sha256-PWH+nlIZZlqB/PuiBX9X4McLZF4gKR1MEnjvutKT848=" 190 + [mod."github.com/ipfs/go-block-format"] 191 + version = "v0.2.1" 192 + hash = "sha256-npEV0Axe6zJlzN00/GwiegE9HKsuDR6RhsAfPyphOl8=" 193 + [mod."github.com/ipfs/go-cid"] 194 + version = "v0.5.0" 195 + hash = "sha256-BuZKkcBXrnx7mM1c9SP4LdzZoaAoai9U49vITGrYJQk=" 196 + [mod."github.com/ipfs/go-datastore"] 197 + version = "v0.8.2" 198 + hash = "sha256-9Q7+bi04srAE3AcXzWSGs/HP6DWnE1Edtx3NnjMQi8U=" 199 + [mod."github.com/ipfs/go-ipfs-blockstore"] 200 + version = "v1.3.1" 201 + hash = "sha256-NFlKr8bdJcM5FLlkc51sKt4AnMMlHS4wbdKiiaoDaqg=" 202 + [mod."github.com/ipfs/go-ipfs-ds-help"] 203 + version = "v1.1.1" 204 + hash = "sha256-cpEohOsf4afYRGTdsWh84TCVGIDzJo2hSjWy7NtNtvY=" 205 + [mod."github.com/ipfs/go-ipld-cbor"] 206 + version = "v0.2.0" 207 + hash = "sha256-bvHFCIQqim3/+xzl1bld3NxKY8WoeCO3HpdTfUsXvlc=" 208 + [mod."github.com/ipfs/go-ipld-format"] 209 + version = "v0.6.1" 210 + hash = "sha256-v1zLYYGaoDxsgOW5joQGWHEHZoJjIXc6tLVgTomZ2z4=" 211 + [mod."github.com/ipfs/go-log"] 212 + version = "v1.0.5" 213 + hash = "sha256-WQarHZo2y/rH6ixLsOlN5fFZeLUqsOTMnvdxszP2Qj4=" 214 + [mod."github.com/ipfs/go-log/v2"] 215 + version = "v2.6.0" 216 + hash = "sha256-cZ+rsx7LIROoNITyu/s0B6hq8lNQsUC1ynvx2f2o4Gk=" 217 + [mod."github.com/ipfs/go-metrics-interface"] 218 + version = "v0.3.0" 219 + hash = "sha256-b3tp3jxecLmJEGx2kW7MiKGlAKPEWg/LJ7hXylSC8jQ=" 220 + [mod."github.com/kevinburke/ssh_config"] 221 + version = "v1.2.0" 222 + hash = "sha256-Ta7ZOmyX8gG5tzWbY2oES70EJPfI90U7CIJS9EAce0s=" 223 + [mod."github.com/klauspost/compress"] 224 + version = "v1.18.0" 225 + hash = "sha256-jc5pMU/HCBFOShMcngVwNMhz9wolxjOb579868LtOuk=" 226 + [mod."github.com/klauspost/cpuid/v2"] 227 + version = "v2.2.10" 228 + hash = "sha256-o21Tk5sD7WhhLUoqSkymnjLbzxl0mDJCTC1ApfZJrC0=" 229 + [mod."github.com/lestrrat-go/blackmagic"] 230 + version = "v1.0.3" 231 + hash = "sha256-1wyfD6fPopJF/UmzfAEa0N1zuUzVuHIpdcxks1kqxxw=" 232 + [mod."github.com/lestrrat-go/httpcc"] 233 + version = "v1.0.1" 234 + hash = "sha256-SMRSwJpqDIs/xL0l2e8vP0W65qtCHX2wigcOeqPJmos=" 235 + [mod."github.com/lestrrat-go/httprc"] 236 + version = "v1.0.6" 237 + hash = "sha256-mfZzePEhrmyyu/avEBd2MsDXyto8dq5+fyu5lA8GUWM=" 238 + [mod."github.com/lestrrat-go/iter"] 239 + version = "v1.0.2" 240 + hash = "sha256-30tErRf7Qu/NOAt1YURXY/XJSA6sCr6hYQfO8QqHrtw=" 241 + [mod."github.com/lestrrat-go/jwx/v2"] 242 + version = "v2.1.6" 243 + hash = "sha256-0LszXRZIba+X8AOrs3T4uanAUafBdlVB8/MpUNEFpbc=" 244 + [mod."github.com/lestrrat-go/option"] 245 + version = "v1.0.1" 246 + hash = "sha256-jVcIYYVsxElIS/l2akEw32vdEPR8+anR6oeT1FoYULI=" 247 + [mod."github.com/mattn/go-isatty"] 248 + version = "v0.0.20" 249 + hash = "sha256-qhw9hWtU5wnyFyuMbKx+7RB8ckQaFQ8D+8GKPkN3HHQ=" 250 + [mod."github.com/mattn/go-sqlite3"] 251 + version = "v1.14.24" 252 + hash = "sha256-taGKFZFQlR5++5b2oZ1dYS3RERKv6yh1gniNWhb4egg=" 253 + [mod."github.com/microcosm-cc/bluemonday"] 254 + version = "v1.0.27" 255 + hash = "sha256-EZSya9FLPQ83CL7N2cZy21fdS35hViTkiMK5f3op8Es=" 256 + [mod."github.com/minio/sha256-simd"] 257 + version = "v1.0.1" 258 + hash = "sha256-4hfGDIQaWq8fvtGzHDhoK9v2IocXnJY7OAL6saMJbmA=" 259 + [mod."github.com/moby/docker-image-spec"] 260 + version = "v1.3.1" 261 + hash = "sha256-xwSNLmMagzywdGJIuhrWl1r7cIWBYCOMNYbuDDT6Jhs=" 262 + [mod."github.com/moby/sys/atomicwriter"] 263 + version = "v0.1.0" 264 + hash = "sha256-i46GNrsICnJ0AYkN+ocbVZ2GNTQVEsrVX5WcjKzjtBM=" 265 + [mod."github.com/moby/term"] 266 + version = "v0.5.2" 267 + hash = "sha256-/G20jUZKx36ktmPU/nEw/gX7kRTl1Dbu7zvNBYNt4xU=" 268 + [mod."github.com/morikuni/aec"] 269 + version = "v1.0.0" 270 + hash = "sha256-5zYgLeGr3K+uhGKlN3xv0PO67V+2Zw+cezjzNCmAWOE=" 271 + [mod."github.com/mr-tron/base58"] 272 + version = "v1.2.0" 273 + hash = "sha256-8FzMu3kHUbBX10pUdtGf59Ag7BNupx8ZHeUaodR1/Vk=" 274 + [mod."github.com/multiformats/go-base32"] 275 + version = "v0.1.0" 276 + hash = "sha256-O2IM7FB+Y9MkDdZztyQL5F8oEnmON2Yew7XkotQziio=" 277 + [mod."github.com/multiformats/go-base36"] 278 + version = "v0.2.0" 279 + hash = "sha256-GKNnAGA0Lb39BDGYBm1ieKdXmho8Pu7ouyfVPXvV0PE=" 280 + [mod."github.com/multiformats/go-multibase"] 281 + version = "v0.2.0" 282 + hash = "sha256-w+hp6u5bWyd34qe0CX+bq487ADqq6SgRR/JuqRB578s=" 283 + [mod."github.com/multiformats/go-multihash"] 284 + version = "v0.2.3" 285 + hash = "sha256-zqIIE5jMFzm+qhUrouSF+WdXGeHUEYIQvVnKWWU6mRs=" 286 + [mod."github.com/multiformats/go-varint"] 287 + version = "v0.0.7" 288 + hash = "sha256-To3Uuv7uSUJEr5OTwxE1LEIpA62xY3M/KKMNlscHmlA=" 289 + [mod."github.com/munnerz/goautoneg"] 290 + version = "v0.0.0-20191010083416-a7dc8b61c822" 291 + hash = "sha256-79URDDFenmGc9JZu+5AXHToMrtTREHb3BC84b/gym9Q=" 292 + [mod."github.com/opencontainers/go-digest"] 293 + version = "v1.0.0" 294 + hash = "sha256-cfVDjHyWItmUGZ2dzQhCHgmOmou8v7N+itDkLZVkqkQ=" 295 + [mod."github.com/opencontainers/image-spec"] 296 + version = "v1.1.1" 297 + hash = "sha256-bxBjtl+6846Ed3QHwdssOrNvlHV6b+Dn17zPISSQGP8=" 298 + [mod."github.com/opentracing/opentracing-go"] 299 + version = "v1.2.0" 300 + hash = "sha256-kKTKFGXOsCF6QdVzI++GgaRzv2W+kWq5uDXOJChvLxM=" 301 + [mod."github.com/pjbgf/sha1cd"] 302 + version = "v0.3.2" 303 + hash = "sha256-jdbiRhU8xc1C5c8m7BSCj71PUXHY3f7TWFfxDKKpUMk=" 304 + [mod."github.com/pkg/errors"] 305 + version = "v0.9.1" 306 + hash = "sha256-mNfQtcrQmu3sNg/7IwiieKWOgFQOVVe2yXgKBpe/wZw=" 307 + [mod."github.com/pmezard/go-difflib"] 308 + version = "v1.0.1-0.20181226105442-5d4384ee4fb2" 309 + hash = "sha256-XA4Oj1gdmdV/F/+8kMI+DBxKPthZ768hbKsO3d9Gx90=" 310 + [mod."github.com/polydawn/refmt"] 311 + version = "v0.89.1-0.20221221234430-40501e09de1f" 312 + hash = "sha256-wBdFROClTHNPYU4IjeKbBXaG7F6j5hZe15gMxiqKvi4=" 313 + [mod."github.com/posthog/posthog-go"] 314 + version = "v1.5.5" 315 + hash = "sha256-ouhfDUCXsfpcgaCLfJE9oYprAQHuV61OJzb/aEhT0j8=" 316 + [mod."github.com/prometheus/client_golang"] 317 + version = "v1.22.0" 318 + hash = "sha256-OJ/9rlWG1DIPQJAZUTzjykkX0o+f+4IKLvW8YityaMQ=" 319 + [mod."github.com/prometheus/client_model"] 320 + version = "v0.6.2" 321 + hash = "sha256-q6Fh6v8iNJN9ypD47LjWmx66YITa3FyRjZMRsuRTFeQ=" 322 + [mod."github.com/prometheus/common"] 323 + version = "v0.63.0" 324 + hash = "sha256-TbUZNkN4ZA7eC/MlL1v2V5OL28QRnftSuaWQZ944zBE=" 325 + [mod."github.com/prometheus/procfs"] 326 + version = "v0.16.1" 327 + hash = "sha256-OBCvKlLW2obct35p0L9Q+1ZrxZjpTmbgHMP2rng9hpo=" 328 + [mod."github.com/redis/go-redis/v9"] 329 + version = "v9.3.0" 330 + hash = "sha256-PNXDX3BH92d2jL/AkdK0eWMorh387Y6duwYNhsqNe+w=" 331 + [mod."github.com/resend/resend-go/v2"] 332 + version = "v2.15.0" 333 + hash = "sha256-1lMoxuMLQXaNWFKadS6rpztAKwvIl3/LWMXqw7f5WYg=" 334 + [mod."github.com/segmentio/asm"] 335 + version = "v1.2.0" 336 + hash = "sha256-zbNuKxNrUDUc6IlmRQNuJQzVe5Ol/mqp7srDg9IMMqs=" 337 + [mod."github.com/sergi/go-diff"] 338 + version = "v1.1.0" 339 + hash = "sha256-8NJMabldpf40uwQN20T6QXx5KORDibCBJL02KD661xY=" 340 + replaced = "github.com/sergi/go-diff" 341 + [mod."github.com/sethvargo/go-envconfig"] 342 + version = "v1.1.0" 343 + hash = "sha256-WelRHfyZG9hrA4fbQcfBawb2ZXBQNT1ourEYHzQdZ4w=" 344 + [mod."github.com/spaolacci/murmur3"] 345 + version = "v1.1.0" 346 + hash = "sha256-RWD4PPrlAsZZ8Xy356MBxpj+/NZI7w2XOU14Ob7/Y9M=" 347 + [mod."github.com/stretchr/testify"] 348 + version = "v1.10.0" 349 + hash = "sha256-fJ4gnPr0vnrOhjQYQwJ3ARDKPsOtA7d4olQmQWR+wpI=" 350 + [mod."github.com/urfave/cli/v3"] 351 + version = "v3.3.3" 352 + hash = "sha256-FdPiu7koY1qBinkfca4A05zCrX+Vu4eRz8wlRDZJyGg=" 353 + [mod."github.com/vmihailenco/go-tinylfu"] 354 + version = "v0.2.2" 355 + hash = "sha256-ZHr4g7DJAV6rLcfrEWZwo9wJSeZcXB9KSP38UIOFfaM=" 356 + [mod."github.com/vmihailenco/msgpack/v5"] 357 + version = "v5.4.1" 358 + hash = "sha256-pDplX6xU6UpNLcFbO1pRREW5vCnSPvSU+ojAwFDv3Hk=" 359 + [mod."github.com/vmihailenco/tagparser/v2"] 360 + version = "v2.0.0" 361 + hash = "sha256-M9QyaKhSmmYwsJk7gkjtqu9PuiqZHSmTkous8VWkWY0=" 362 + [mod."github.com/whyrusleeping/cbor-gen"] 363 + version = "v0.3.1" 364 + hash = "sha256-PAd8M2Z8t6rVRBII+Rg8Bz+QaJIwbW64bfyqsv31kgc=" 365 + [mod."github.com/yuin/goldmark"] 366 + version = "v1.4.13" 367 + hash = "sha256-GVwFKZY6moIS6I0ZGuio/WtDif+lkZRfqWS6b4AAJyI=" 368 + [mod."gitlab.com/yawning/secp256k1-voi"] 369 + version = "v0.0.0-20230925100816-f2616030848b" 370 + hash = "sha256-X8INg01LTg13iOuwPI3uOhPN7r01sPZtmtwJ2sudjCA=" 371 + [mod."gitlab.com/yawning/tuplehash"] 372 + version = "v0.0.0-20230713102510-df83abbf9a02" 373 + hash = "sha256-pehQduoaJRLchebhgvMYacVvbuNIBA++XkiqCuqdato=" 374 + [mod."go.opentelemetry.io/auto/sdk"] 375 + version = "v1.1.0" 376 + hash = "sha256-cA9qCCu8P1NSJRxgmpfkfa5rKyn9X+Y/9FSmSd5xjyo=" 377 + [mod."go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"] 378 + version = "v0.61.0" 379 + hash = "sha256-4pfXD7ErXhexSynXiEEQSAkWoPwHd7PEDE3M1Zi5gLM=" 380 + [mod."go.opentelemetry.io/otel"] 381 + version = "v1.36.0" 382 + hash = "sha256-j8wojdCtKal3LKojanHA8KXXQ0FkbWONpO8tUxpJDko=" 383 + [mod."go.opentelemetry.io/otel/metric"] 384 + version = "v1.36.0" 385 + hash = "sha256-z6Uqi4HhUljWIYd58svKK5MqcGbpcac+/M8JeTrUtJ8=" 386 + [mod."go.opentelemetry.io/otel/trace"] 387 + version = "v1.36.0" 388 + hash = "sha256-owWD9x1lp8aIJqYt058BXPUsIMHdk3RI0escso0BxwA=" 389 + [mod."go.opentelemetry.io/proto/otlp"] 390 + version = "v1.6.0" 391 + hash = "sha256-1kjkJ9cqkvx3ib6ytLcw+Adp4xqD3ShF97lpzt/BeCg=" 392 + [mod."go.uber.org/atomic"] 393 + version = "v1.11.0" 394 + hash = "sha256-TyYws/cSPVqYNffFX0gbDml1bD4bBGcysrUWU7mHPIY=" 395 + [mod."go.uber.org/multierr"] 396 + version = "v1.11.0" 397 + hash = "sha256-Lb6rHHfR62Ozg2j2JZy3MKOMKdsfzd1IYTR57r3Mhp0=" 398 + [mod."go.uber.org/zap"] 399 + version = "v1.27.0" 400 + hash = "sha256-8655KDrulc4Das3VRduO9MjCn8ZYD5WkULjCvruaYsU=" 401 + [mod."golang.org/x/crypto"] 402 + version = "v0.38.0" 403 + hash = "sha256-5tTXlXQBlfW1sSNDAIalOpsERbTJlZqbwCIiih4T4rY=" 404 + [mod."golang.org/x/exp"] 405 + version = "v0.0.0-20250408133849-7e4ce0ab07d0" 406 + hash = "sha256-Lw/WupSM8gcq0JzPSAaBqj9l1uZ68ANhaIaQzPhRpy8=" 407 + [mod."golang.org/x/net"] 408 + version = "v0.40.0" 409 + hash = "sha256-BhDOHTP8RekXDQDf9HlORSmI2aPacLo53fRXtTgCUH8=" 410 + [mod."golang.org/x/sync"] 411 + version = "v0.14.0" 412 + hash = "sha256-YNQLeFMeXN9y0z4OyXV/LJ4hA54q+ljm1ytcy80O6r4=" 413 + [mod."golang.org/x/sys"] 414 + version = "v0.33.0" 415 + hash = "sha256-wlOzIOUgAiGAtdzhW/KPl/yUVSH/lvFZfs5XOuJ9LOQ=" 416 + [mod."golang.org/x/time"] 417 + version = "v0.8.0" 418 + hash = "sha256-EA+qRisDJDPQ2g4pcfP4RyQaB7CJKkAn68EbNfBzXdQ=" 419 + [mod."golang.org/x/xerrors"] 420 + version = "v0.0.0-20240903120638-7835f813f4da" 421 + hash = "sha256-bE7CcrnAvryNvM26ieJGXqbAtuLwHaGcmtVMsVnksqo=" 422 + [mod."google.golang.org/genproto/googleapis/api"] 423 + version = "v0.0.0-20250519155744-55703ea1f237" 424 + hash = "sha256-ivktx8ipWgWZgchh4FjKoWL7kU8kl/TtIavtZq/F5SQ=" 425 + [mod."google.golang.org/genproto/googleapis/rpc"] 426 + version = "v0.0.0-20250519155744-55703ea1f237" 427 + hash = "sha256-WK7iDtAhH19NPe3TywTQlGjDawNaDKWnxhFL9PgVUwM=" 428 + [mod."google.golang.org/grpc"] 429 + version = "v1.72.1" 430 + hash = "sha256-5JczomNvroKWtIYKDgXwaIaEfuNEK//MHPhJQiaxMXs=" 431 + [mod."google.golang.org/protobuf"] 432 + version = "v1.36.6" 433 + hash = "sha256-lT5qnefI5FDJnowz9PEkAGylH3+fE+A3DJDkAyy9RMc=" 434 + [mod."gopkg.in/fsnotify.v1"] 435 + version = "v1.4.7" 436 + hash = "sha256-j/Ts92oXa3k1MFU7Yd8/AqafRTsFn7V2pDKCyDJLah8=" 437 + [mod."gopkg.in/tomb.v1"] 438 + version = "v1.0.0-20141024135613-dd632973f1e7" 439 + hash = "sha256-W/4wBAvuaBFHhowB67SZZfXCRDp5tzbYG4vo81TAFdM=" 440 + [mod."gopkg.in/warnings.v0"] 441 + version = "v0.1.2" 442 + hash = "sha256-ATVL9yEmgYbkJ1DkltDGRn/auGAjqGOfjQyBYyUo8s8=" 443 + [mod."gopkg.in/yaml.v3"] 444 + version = "v3.0.1" 445 + hash = "sha256-FqL9TKYJ0XkNwJFnq9j0VvJ5ZUU1RvH/52h/f5bkYAU=" 446 + [mod."gotest.tools/v3"] 447 + version = "v3.5.2" 448 + hash = "sha256-eAxnRrF2bQugeFYzGLOr+4sLyCPOpaTWpoZsIKNP1WE=" 449 + [mod."lukechampine.com/blake3"] 450 + version = "v1.4.1" 451 + hash = "sha256-HaZGo9L44ptPsgxIhvKy3+0KZZm1+xt+cZC1rDQA9Yc=" 452 + [mod."tangled.sh/icyphox.sh/atproto-oauth"] 453 + version = "v0.0.0-20250526154904-3906c5336421" 454 + hash = "sha256-CvR8jic0YZfj0a8ubPj06FiMMR/1K9kHoZhLQw1LItM="
+6 -9
nix/pkgs/appview.nix
··· 1 { 2 - buildGoModule, 3 - stdenv, 4 htmx-src, 5 htmx-ws-src, 6 lucide-src, ··· 8 ibm-plex-mono-src, 9 tailwindcss, 10 sqlite-lib, 11 - goModHash, 12 gitignoreSource, 13 }: 14 - buildGoModule { 15 - inherit stdenv; 16 - 17 pname = "appview"; 18 version = "0.1.0"; 19 src = gitignoreSource ../..; 20 21 postUnpack = '' 22 pushd source ··· 33 34 doCheck = false; 35 subPackages = ["cmd/appview"]; 36 - vendorHash = goModHash; 37 38 - tags = "libsqlite3"; 39 env.CGO_CFLAGS = "-I ${sqlite-lib}/include "; 40 env.CGO_LDFLAGS = "-L ${sqlite-lib}/lib"; 41 - env.CGO_ENABLED = 1; 42 }
··· 1 { 2 + buildGoApplication, 3 + modules, 4 htmx-src, 5 htmx-ws-src, 6 lucide-src, ··· 8 ibm-plex-mono-src, 9 tailwindcss, 10 sqlite-lib, 11 gitignoreSource, 12 }: 13 + buildGoApplication { 14 pname = "appview"; 15 version = "0.1.0"; 16 src = gitignoreSource ../..; 17 + inherit modules; 18 19 postUnpack = '' 20 pushd source ··· 31 32 doCheck = false; 33 subPackages = ["cmd/appview"]; 34 35 + tags = ["libsqlite3"]; 36 env.CGO_CFLAGS = "-I ${sqlite-lib}/include "; 37 env.CGO_LDFLAGS = "-L ${sqlite-lib}/lib"; 38 + CGO_ENABLED = 1; 39 }
+5 -5
nix/pkgs/genjwks.nix
··· 1 { 2 - buildGoModule, 3 - goModHash, 4 gitignoreSource, 5 }: 6 - buildGoModule { 7 pname = "genjwks"; 8 version = "0.1.0"; 9 src = gitignoreSource ../..; 10 subPackages = ["cmd/genjwks"]; 11 - vendorHash = goModHash; 12 doCheck = false; 13 - env.CGO_ENABLED = 0; 14 }
··· 1 { 2 gitignoreSource, 3 + buildGoApplication, 4 + modules, 5 }: 6 + buildGoApplication { 7 pname = "genjwks"; 8 version = "0.1.0"; 9 src = gitignoreSource ../..; 10 + inherit modules; 11 subPackages = ["cmd/genjwks"]; 12 doCheck = false; 13 + CGO_ENABLED = 0; 14 }
+6 -7
nix/pkgs/knot-unwrapped.nix
··· 1 { 2 - buildGoModule, 3 - stdenv, 4 sqlite-lib, 5 - goModHash, 6 gitignoreSource, 7 }: 8 - buildGoModule { 9 pname = "knot"; 10 version = "0.1.0"; 11 src = gitignoreSource ../..; 12 13 doCheck = false; 14 15 subPackages = ["cmd/knot"]; 16 - vendorHash = goModHash; 17 - tags = "libsqlite3"; 18 19 env.CGO_CFLAGS = "-I ${sqlite-lib}/include "; 20 env.CGO_LDFLAGS = "-L ${sqlite-lib}/lib"; 21 - env.CGO_ENABLED = 1; 22 }
··· 1 { 2 + buildGoApplication, 3 + modules, 4 sqlite-lib, 5 gitignoreSource, 6 }: 7 + buildGoApplication { 8 pname = "knot"; 9 version = "0.1.0"; 10 src = gitignoreSource ../..; 11 + inherit modules; 12 13 doCheck = false; 14 15 subPackages = ["cmd/knot"]; 16 + tags = ["libsqlite3"]; 17 18 env.CGO_CFLAGS = "-I ${sqlite-lib}/include "; 19 env.CGO_LDFLAGS = "-L ${sqlite-lib}/lib"; 20 + CGO_ENABLED = 1; 21 }
+6 -7
nix/pkgs/spindle.nix
··· 1 { 2 - buildGoModule, 3 - stdenv, 4 sqlite-lib, 5 - goModHash, 6 gitignoreSource, 7 }: 8 - buildGoModule { 9 pname = "spindle"; 10 version = "0.1.0"; 11 src = gitignoreSource ../..; 12 13 doCheck = false; 14 15 subPackages = ["cmd/spindle"]; 16 - vendorHash = goModHash; 17 - tags = "libsqlite3"; 18 19 env.CGO_CFLAGS = "-I ${sqlite-lib}/include "; 20 env.CGO_LDFLAGS = "-L ${sqlite-lib}/lib"; 21 - env.CGO_ENABLED = 1; 22 }
··· 1 { 2 + buildGoApplication, 3 + modules, 4 sqlite-lib, 5 gitignoreSource, 6 }: 7 + buildGoApplication { 8 pname = "spindle"; 9 version = "0.1.0"; 10 src = gitignoreSource ../..; 11 + inherit modules; 12 13 doCheck = false; 14 15 subPackages = ["cmd/spindle"]; 16 + tags = ["libsqlite3"]; 17 18 env.CGO_CFLAGS = "-I ${sqlite-lib}/include "; 19 env.CGO_LDFLAGS = "-L ${sqlite-lib}/lib"; 20 + CGO_ENABLED = 1; 21 }