The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Nix build support (#113)

* try nix

* don't double build

* Update docker.nix

* Update nix.yml

authored by

Christine Dodrill and committed by
GitHub
a7849dd6 8efea54f

+537 -17
+1
.envrc
··· 1 + eval "$(lorri direnv)"
+12
.github/workflows/nix.yml
··· 1 + name: "Nix" 2 + on: 3 + push: 4 + jobs: 5 + tests: 6 + runs-on: ubuntu-latest 7 + steps: 8 + - uses: actions/checkout@v1 9 + - uses: cachix/install-nix-action@v6 10 + - uses: cachix/cachix-action@v3 11 + with: 12 + name: xe
+2
.gitignore
··· 2 2 cw.tar 3 3 .env 4 4 .DS_Store 5 + /result-* 6 + /result
+3
default.nix
··· 1 + { pkgs ? import <nixpkgs> {} }: 2 + 3 + pkgs.callPackage ./site.nix {}
+453
deps.nix
··· 1 + # file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix) 2 + [ 3 + { 4 + goPackagePath = "github.com/alecthomas/template"; 5 + fetch = { 6 + type = "git"; 7 + url = "https://github.com/alecthomas/template"; 8 + rev = "fb15b899a751"; 9 + sha256 = "1vlasv4dgycydh5wx6jdcvz40zdv90zz1h7836z7lhsi2ymvii26"; 10 + }; 11 + } 12 + { 13 + goPackagePath = "github.com/alecthomas/units"; 14 + fetch = { 15 + type = "git"; 16 + url = "https://github.com/alecthomas/units"; 17 + rev = "c3de453c63f4"; 18 + sha256 = "0js37zlgv37y61j4a2d46jh72xm5kxmpaiw0ya9v944bjpc386my"; 19 + }; 20 + } 21 + { 22 + goPackagePath = "github.com/beorn7/perks"; 23 + fetch = { 24 + type = "git"; 25 + url = "https://github.com/beorn7/perks"; 26 + rev = "v1.0.1"; 27 + sha256 = "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7"; 28 + }; 29 + } 30 + { 31 + goPackagePath = "github.com/celrenheit/sandflake"; 32 + fetch = { 33 + type = "git"; 34 + url = "https://github.com/celrenheit/sandflake"; 35 + rev = "50a943690bc2"; 36 + sha256 = "0ji76y79xqlx60bfxcik8zy5ha4gzhhi9qw020dkwqhbnbpaj6w2"; 37 + }; 38 + } 39 + { 40 + goPackagePath = "github.com/cespare/xxhash"; 41 + fetch = { 42 + type = "git"; 43 + url = "https://github.com/cespare/xxhash"; 44 + rev = "v2.1.1"; 45 + sha256 = "0rl5rs8546zj1vzggv38w93wx0b5dvav7yy5hzxa8kw7iikv1cgr"; 46 + }; 47 + } 48 + { 49 + goPackagePath = "github.com/davecgh/go-spew"; 50 + fetch = { 51 + type = "git"; 52 + url = "https://github.com/davecgh/go-spew"; 53 + rev = "v1.1.1"; 54 + sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"; 55 + }; 56 + } 57 + { 58 + goPackagePath = "github.com/go-kit/kit"; 59 + fetch = { 60 + type = "git"; 61 + url = "https://github.com/go-kit/kit"; 62 + rev = "v0.9.0"; 63 + sha256 = "09038mnw705h7isbjp8dzgp2i04bp5rqkmifxvwc5xkh75s00qpw"; 64 + }; 65 + } 66 + { 67 + goPackagePath = "github.com/go-logfmt/logfmt"; 68 + fetch = { 69 + type = "git"; 70 + url = "https://github.com/go-logfmt/logfmt"; 71 + rev = "v0.4.0"; 72 + sha256 = "06smxc112xmixz78nyvk3b2hmc7wasf2sl5vxj1xz62kqcq9lzm9"; 73 + }; 74 + } 75 + { 76 + goPackagePath = "github.com/go-stack/stack"; 77 + fetch = { 78 + type = "git"; 79 + url = "https://github.com/go-stack/stack"; 80 + rev = "v1.8.0"; 81 + sha256 = "0wk25751ryyvxclyp8jdk5c3ar0cmfr8lrjb66qbg4808x66b96v"; 82 + }; 83 + } 84 + { 85 + goPackagePath = "github.com/gogo/protobuf"; 86 + fetch = { 87 + type = "git"; 88 + url = "https://github.com/gogo/protobuf"; 89 + rev = "v1.1.1"; 90 + sha256 = "1525pq7r6h3s8dncvq8gxi893p2nq8dxpzvq0nfl5b4p6mq0v1c2"; 91 + }; 92 + } 93 + { 94 + goPackagePath = "github.com/golang/protobuf"; 95 + fetch = { 96 + type = "git"; 97 + url = "https://github.com/golang/protobuf"; 98 + rev = "v1.3.2"; 99 + sha256 = "1k1wb4zr0qbwgpvz9q5ws9zhlal8hq7dmq62pwxxriksayl6hzym"; 100 + }; 101 + } 102 + { 103 + goPackagePath = "github.com/google/go-cmp"; 104 + fetch = { 105 + type = "git"; 106 + url = "https://github.com/google/go-cmp"; 107 + rev = "v0.4.0"; 108 + sha256 = "1x5pvl3fb5sbyng7i34431xycnhmx8xx94gq2n19g6p0vz68z2v2"; 109 + }; 110 + } 111 + { 112 + goPackagePath = "github.com/google/gofuzz"; 113 + fetch = { 114 + type = "git"; 115 + url = "https://github.com/google/gofuzz"; 116 + rev = "v1.0.0"; 117 + sha256 = "0qz439qvccm91w0mmjz4fqgx48clxdwagkvvx89cr43q1d4iry36"; 118 + }; 119 + } 120 + { 121 + goPackagePath = "github.com/gorilla/feeds"; 122 + fetch = { 123 + type = "git"; 124 + url = "https://github.com/gorilla/feeds"; 125 + rev = "v1.1.1"; 126 + sha256 = "1lwqibra4hyzx0jhaz12rfhfnw73bmdf8cn9r51nqidk8k7zf7sg"; 127 + }; 128 + } 129 + { 130 + goPackagePath = "github.com/json-iterator/go"; 131 + fetch = { 132 + type = "git"; 133 + url = "https://github.com/json-iterator/go"; 134 + rev = "v1.1.9"; 135 + sha256 = "0pkn2maymgl9v6vmq9q1si8xr5bbl88n6981y0lx09px6qxb29qx"; 136 + }; 137 + } 138 + { 139 + goPackagePath = "github.com/julienschmidt/httprouter"; 140 + fetch = { 141 + type = "git"; 142 + url = "https://github.com/julienschmidt/httprouter"; 143 + rev = "v1.2.0"; 144 + sha256 = "1k8bylc9s4vpvf5xhqh9h246dl1snxrzzz0614zz88cdh8yzs666"; 145 + }; 146 + } 147 + { 148 + goPackagePath = "github.com/konsorten/go-windows-terminal-sequences"; 149 + fetch = { 150 + type = "git"; 151 + url = "https://github.com/konsorten/go-windows-terminal-sequences"; 152 + rev = "v1.0.1"; 153 + sha256 = "1lchgf27n276vma6iyxa0v1xds68n2g8lih5lavqnx5x6q5pw2ip"; 154 + }; 155 + } 156 + { 157 + goPackagePath = "github.com/kr/logfmt"; 158 + fetch = { 159 + type = "git"; 160 + url = "https://github.com/kr/logfmt"; 161 + rev = "b84e30acd515"; 162 + sha256 = "02ldzxgznrfdzvghfraslhgp19la1fczcbzh7wm2zdc6lmpd1qq9"; 163 + }; 164 + } 165 + { 166 + goPackagePath = "github.com/kr/pretty"; 167 + fetch = { 168 + type = "git"; 169 + url = "https://github.com/kr/pretty"; 170 + rev = "v0.1.0"; 171 + sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp"; 172 + }; 173 + } 174 + { 175 + goPackagePath = "github.com/kr/pty"; 176 + fetch = { 177 + type = "git"; 178 + url = "https://github.com/kr/pty"; 179 + rev = "v1.1.1"; 180 + sha256 = "0383f0mb9kqjvncqrfpidsf8y6ns5zlrc91c6a74xpyxjwvzl2y6"; 181 + }; 182 + } 183 + { 184 + goPackagePath = "github.com/kr/text"; 185 + fetch = { 186 + type = "git"; 187 + url = "https://github.com/kr/text"; 188 + rev = "v0.1.0"; 189 + sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"; 190 + }; 191 + } 192 + { 193 + goPackagePath = "github.com/matttproud/golang_protobuf_extensions"; 194 + fetch = { 195 + type = "git"; 196 + url = "https://github.com/matttproud/golang_protobuf_extensions"; 197 + rev = "v1.0.1"; 198 + sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya"; 199 + }; 200 + } 201 + { 202 + goPackagePath = "github.com/modern-go/concurrent"; 203 + fetch = { 204 + type = "git"; 205 + url = "https://github.com/modern-go/concurrent"; 206 + rev = "bacd9c7ef1dd"; 207 + sha256 = "0s0fxccsyb8icjmiym5k7prcqx36hvgdwl588y0491gi18k5i4zs"; 208 + }; 209 + } 210 + { 211 + goPackagePath = "github.com/modern-go/reflect2"; 212 + fetch = { 213 + type = "git"; 214 + url = "https://github.com/modern-go/reflect2"; 215 + rev = "v1.0.1"; 216 + sha256 = "06a3sablw53n1dqqbr2f53jyksbxdmmk8axaas4yvnhyfi55k4lf"; 217 + }; 218 + } 219 + { 220 + goPackagePath = "github.com/mwitkow/go-conntrack"; 221 + fetch = { 222 + type = "git"; 223 + url = "https://github.com/mwitkow/go-conntrack"; 224 + rev = "cc309e4a2223"; 225 + sha256 = "0nbrnpk7bkmqg9mzwsxlm0y8m7s9qd9phr1q30qlx2qmdmz7c1mf"; 226 + }; 227 + } 228 + { 229 + goPackagePath = "github.com/pkg/errors"; 230 + fetch = { 231 + type = "git"; 232 + url = "https://github.com/pkg/errors"; 233 + rev = "v0.8.1"; 234 + sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1"; 235 + }; 236 + } 237 + { 238 + goPackagePath = "github.com/pmezard/go-difflib"; 239 + fetch = { 240 + type = "git"; 241 + url = "https://github.com/pmezard/go-difflib"; 242 + rev = "v1.0.0"; 243 + sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"; 244 + }; 245 + } 246 + { 247 + goPackagePath = "github.com/povilasv/prommod"; 248 + fetch = { 249 + type = "git"; 250 + url = "https://github.com/povilasv/prommod"; 251 + rev = "v0.0.12"; 252 + sha256 = "1fcmlrx0hyvwxk67p01avaz3myis3jyamhfwmyx4crgyhdc6pbb7"; 253 + }; 254 + } 255 + { 256 + goPackagePath = "github.com/prometheus/client_golang"; 257 + fetch = { 258 + type = "git"; 259 + url = "https://github.com/prometheus/client_golang"; 260 + rev = "v1.4.0"; 261 + sha256 = "102x5qvnja9y3qx9vyr85rp3y63imk0rk73r91xzyhpp6mrcqfbh"; 262 + }; 263 + } 264 + { 265 + goPackagePath = "github.com/prometheus/client_model"; 266 + fetch = { 267 + type = "git"; 268 + url = "https://github.com/prometheus/client_model"; 269 + rev = "v0.2.0"; 270 + sha256 = "0jffnz94d6ff39fr96b5w8i8yk26pwnrfggzz8jhi8k0yihg2c9d"; 271 + }; 272 + } 273 + { 274 + goPackagePath = "github.com/prometheus/common"; 275 + fetch = { 276 + type = "git"; 277 + url = "https://github.com/prometheus/common"; 278 + rev = "v0.9.1"; 279 + sha256 = "12pyywb02p7d30ccm41mwn69qsgqnsgv1w9jlqrrln2f1svnbqch"; 280 + }; 281 + } 282 + { 283 + goPackagePath = "github.com/prometheus/procfs"; 284 + fetch = { 285 + type = "git"; 286 + url = "https://github.com/prometheus/procfs"; 287 + rev = "v0.0.8"; 288 + sha256 = "076wblhz8fjdc73fmz1lg0hafbwg1xv8hszm78lbg9anjpfgacvq"; 289 + }; 290 + } 291 + { 292 + goPackagePath = "github.com/russross/blackfriday"; 293 + fetch = { 294 + type = "git"; 295 + url = "https://github.com/russross/blackfriday"; 296 + rev = "v2.0.0"; 297 + sha256 = "10xh4zak0qbdi15nik2y72c7nn0k6vsc1iawkwx5v38cwp6hzszl"; 298 + }; 299 + } 300 + { 301 + goPackagePath = "github.com/sebest/xff"; 302 + fetch = { 303 + type = "git"; 304 + url = "https://github.com/sebest/xff"; 305 + rev = "6c115e0ffa35"; 306 + sha256 = "0l11d8mc870vxzgi74cc9dqr7kgxjmbfkfi53gc30rsyx877jx4h"; 307 + }; 308 + } 309 + { 310 + goPackagePath = "github.com/shurcooL/sanitized_anchor_name"; 311 + fetch = { 312 + type = "git"; 313 + url = "https://github.com/shurcooL/sanitized_anchor_name"; 314 + rev = "v1.0.0"; 315 + sha256 = "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"; 316 + }; 317 + } 318 + { 319 + goPackagePath = "github.com/sirupsen/logrus"; 320 + fetch = { 321 + type = "git"; 322 + url = "https://github.com/sirupsen/logrus"; 323 + rev = "v1.4.2"; 324 + sha256 = "087k2lxrr9p9dh68yw71d05h5g9p5v26zbwd6j7lghinjfaw334x"; 325 + }; 326 + } 327 + { 328 + goPackagePath = "github.com/snabb/diagio"; 329 + fetch = { 330 + type = "git"; 331 + url = "https://github.com/snabb/diagio"; 332 + rev = "v1.0.0"; 333 + sha256 = "0g4swgx30gaq0a0l71qd7c1q3dq6q8xcdnwp8063lrv8vqf3xplg"; 334 + }; 335 + } 336 + { 337 + goPackagePath = "github.com/snabb/sitemap"; 338 + fetch = { 339 + type = "git"; 340 + url = "https://github.com/snabb/sitemap"; 341 + rev = "v1.0.0"; 342 + sha256 = "0mb8r4r7dqqwdi3f9brcsqp469rsn621x9h2ahc601arjiv1zk0c"; 343 + }; 344 + } 345 + { 346 + goPackagePath = "github.com/stretchr/objx"; 347 + fetch = { 348 + type = "git"; 349 + url = "https://github.com/stretchr/objx"; 350 + rev = "v0.1.1"; 351 + sha256 = "0iph0qmpyqg4kwv8jsx6a56a7hhqq8swrazv40ycxk9rzr0s8yls"; 352 + }; 353 + } 354 + { 355 + goPackagePath = "github.com/stretchr/testify"; 356 + fetch = { 357 + type = "git"; 358 + url = "https://github.com/stretchr/testify"; 359 + rev = "v1.4.0"; 360 + sha256 = "187i5g88sxfy4vxpm7dw1gwv29pa2qaq475lxrdh5livh69wqfjb"; 361 + }; 362 + } 363 + { 364 + goPackagePath = "golang.org/x/crypto"; 365 + fetch = { 366 + type = "git"; 367 + url = "https://go.googlesource.com/crypto"; 368 + rev = "c2843e01d9a2"; 369 + sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r"; 370 + }; 371 + } 372 + { 373 + goPackagePath = "golang.org/x/net"; 374 + fetch = { 375 + type = "git"; 376 + url = "https://go.googlesource.com/net"; 377 + rev = "d28f0bde5980"; 378 + sha256 = "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf"; 379 + }; 380 + } 381 + { 382 + goPackagePath = "golang.org/x/sync"; 383 + fetch = { 384 + type = "git"; 385 + url = "https://go.googlesource.com/sync"; 386 + rev = "cd5d95a43a6e"; 387 + sha256 = "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"; 388 + }; 389 + } 390 + { 391 + goPackagePath = "golang.org/x/sys"; 392 + fetch = { 393 + type = "git"; 394 + url = "https://go.googlesource.com/sys"; 395 + rev = "e047566fdf82"; 396 + sha256 = "1xazqxggwb834clbdqxl65xkbb45jich0nb09b4gynrp27wyy7h4"; 397 + }; 398 + } 399 + { 400 + goPackagePath = "golang.org/x/text"; 401 + fetch = { 402 + type = "git"; 403 + url = "https://go.googlesource.com/text"; 404 + rev = "v0.3.0"; 405 + sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19"; 406 + }; 407 + } 408 + { 409 + goPackagePath = "golang.org/x/xerrors"; 410 + fetch = { 411 + type = "git"; 412 + url = "https://go.googlesource.com/xerrors"; 413 + rev = "9bdfabe68543"; 414 + sha256 = "1yjfi1bk9xb81lqn85nnm13zz725wazvrx3b50hx19qmwg7a4b0c"; 415 + }; 416 + } 417 + { 418 + goPackagePath = "gopkg.in/alecthomas/kingpin.v2"; 419 + fetch = { 420 + type = "git"; 421 + url = "https://gopkg.in/alecthomas/kingpin.v2"; 422 + rev = "v2.2.6"; 423 + sha256 = "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r"; 424 + }; 425 + } 426 + { 427 + goPackagePath = "gopkg.in/check.v1"; 428 + fetch = { 429 + type = "git"; 430 + url = "https://gopkg.in/check.v1"; 431 + rev = "41f04d3bba15"; 432 + sha256 = "0vfk9czmlxmp6wndq8k17rhnjxal764mxfhrccza7nwlia760pjy"; 433 + }; 434 + } 435 + { 436 + goPackagePath = "gopkg.in/yaml.v2"; 437 + fetch = { 438 + type = "git"; 439 + url = "https://gopkg.in/yaml.v2"; 440 + rev = "v2.2.8"; 441 + sha256 = "1inf7svydzscwv9fcjd2rm61a4xjk6jkswknybmns2n58shimapw"; 442 + }; 443 + } 444 + { 445 + goPackagePath = "within.website/ln"; 446 + fetch = { 447 + type = "git"; 448 + url = "https://github.com/Xe/ln"; 449 + rev = "v0.8.0"; 450 + sha256 = "16wkjsbnn2ww7d6ihh6gaan8v3l9919qmx52jcjl5zx9w9y7yry6"; 451 + }; 452 + } 453 + ]
+23
docker.nix
··· 1 + { system ? builtins.currentSystem }: 2 + 3 + let 4 + pkgs = import <nixpkgs> { inherit system; }; 5 + 6 + callPackage = pkgs.lib.callPackageWith pkgs; 7 + 8 + site = callPackage ./site.nix { }; 9 + 10 + dockerImage = pkg: 11 + pkgs.dockerTools.buildImage { 12 + name = "xena/christinewebsite"; 13 + tag = pkg.version; 14 + 15 + contents = [ pkg ]; 16 + 17 + config = { 18 + Cmd = [ "/bin/site" ]; 19 + WorkingDir = "/"; 20 + }; 21 + }; 22 + 23 + in dockerImage site
-2
go.mod
··· 3 3 require ( 4 4 github.com/celrenheit/sandflake v0.0.0-20190410195419-50a943690bc2 5 5 github.com/gorilla/feeds v1.1.1 6 - github.com/kr/pretty v0.1.0 // indirect 7 6 github.com/povilasv/prommod v0.0.12 8 7 github.com/prometheus/client_golang v1.4.0 9 8 github.com/russross/blackfriday v2.0.0+incompatible ··· 11 10 github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect 12 11 github.com/snabb/sitemap v1.0.0 13 12 github.com/stretchr/testify v1.4.0 14 - gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect 15 13 gopkg.in/yaml.v2 v2.2.8 16 14 within.website/ln v0.8.0 17 15 )
+6 -15
go.sum
··· 27 27 github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 28 28 github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg= 29 29 github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 30 + github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= 30 31 github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 31 32 github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= 32 33 github.com/gorilla/feeds v1.1.1 h1:HwKXxqzcRNg9to+BbvJog4+f3s/xzvtZXICcQGutYfY= 33 34 github.com/gorilla/feeds v1.1.1/go.mod h1:Nk0jZrvPFZX1OBe5NPiddPw7CfwF6Q9eqzaBbaightA= 34 35 github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= 35 - github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 36 36 github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 37 37 github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= 38 38 github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= ··· 59 59 github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= 60 60 github.com/prometheus/client_golang v1.0.0 h1:vrDKnkGzuGvhNAL56c7DBz29ZL+KxnoR0x7enabFceM= 61 61 github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= 62 - github.com/prometheus/client_golang v1.3.0 h1:miYCvYqFXtl/J9FIy8eNpBfYthAEFg+Ys0XyUVEcDsc= 63 - github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= 64 62 github.com/prometheus/client_golang v1.4.0 h1:YVIb/fVcOTMSqtqZWSKnHpSLBxu8DKgxq8z6RuBZwqI= 65 63 github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= 66 64 github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= 67 65 github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE= 68 66 github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 69 - github.com/prometheus/client_model v0.1.0 h1:ElTg5tNp4DqfV7UQjDqv2+RJlNzsDtvNAWccbItceIE= 70 - github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 67 + github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= 71 68 github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 72 69 github.com/prometheus/common v0.4.1 h1:K0MGApIoQvMw27RTdJkPbr3JZ7DNbtxQNyi5STVM6Kw= 73 70 github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= 74 - github.com/prometheus/common v0.7.0 h1:L+1lyG48J1zAQXA3RBX/nG/B3gjlHq0zTt2tlbJLyCY= 75 - github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= 71 + github.com/prometheus/common v0.9.1 h1:KOMtN28tlbam3/7ZKEYKHhKoJZYYj3gMH4uc62x7X7U= 76 72 github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= 77 73 github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= 78 74 github.com/prometheus/procfs v0.0.2 h1:6LJUbpNm42llc4HRCuvApCSWB/WfhuNo9K98Q9sNGfs= ··· 113 109 golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= 114 110 golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 115 111 golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 116 - golang.org/x/sys v0.0.0-20191220142924-d4481acd189f h1:68K/z8GLUxV76xGSqwTWw2gyk/jwn79LUL43rES2g8o= 117 - golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 112 + golang.org/x/sys v0.0.0-20200122134326-e047566fdf82 h1:ywK/j/KkyTHcdyYSZNXGjMwgmDSfjglYZ3vStQ/gSCU= 118 113 golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 119 114 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 115 + golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= 120 116 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 121 117 gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= 122 118 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 123 - gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= 124 - gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 119 + gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= 125 120 gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 126 121 gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 127 122 gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= 128 123 gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 129 124 gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 130 125 gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 131 - gopkg.in/yaml.v2 v2.2.7 h1:VUgggvou5XRW9mHwD/yXxIYSMtY0zoKQf/v226p2nyo= 132 - gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 133 126 gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= 134 127 gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 135 - within.website/ln v0.7.0 h1:cZUc53cZF/+hWuEAv1VbqlYJ5czuPFHKfH0hLKmlIUA= 136 - within.website/ln v0.7.0/go.mod h1:ifURKqsCJekcsdUE+hyCdcuhQqQ+9v9DfA++ZqYxZFE= 137 128 within.website/ln v0.8.0 h1:NX6Eo3LkM9RU8lLRbWpmR5/jQRYKtZ8zuiYi7mmKa6w= 138 129 within.website/ln v0.8.0/go.mod h1:I+Apk8qxMStNXTZdyDMqDqe6CB8Hn6+W/Gyf5QbY+2E=
+4
scripts/nixrun.sh
··· 1 + #!/bin/sh 2 + 3 + cd "$(dirname "$0")"/.. 4 + ./bin/site
+8
shell.nix
··· 1 + let 2 + pkgs = import <nixpkgs> {}; 3 + in 4 + pkgs.mkShell { 5 + buildInputs = [ 6 + pkgs.go 7 + ]; 8 + }
+25
site.nix
··· 1 + { pkgs ? import <nixpkgs> {} }: 2 + with pkgs; 3 + 4 + assert lib.versionAtLeast go.version "1.13"; 5 + 6 + buildGoPackage rec { 7 + name = "christinewebsite-HEAD"; 8 + version = "latest"; 9 + goPackagePath = "christine.website"; 10 + src = ./.; 11 + nativeBuildInputs = [ makeWrapper ]; 12 + 13 + goDeps = ./deps.nix; 14 + allowGoReference = false; 15 + CGO_ENABLED = "0"; 16 + 17 + postInstall = '' 18 + cp -rf $src/blog $bin/blog 19 + cp -rf $src/css $bin/css 20 + cp -rf $src/gallery $bin/gallery 21 + cp -rf $src/static $bin/static 22 + cp -rf $src/talks $bin/talks 23 + cp -rf $src/templates $bin/templates 24 + ''; 25 + }