Add new gopkgs for twitterchiver viewer.

This commit is contained in:
Luke Granger-Brown 2020-10-18 01:02:23 +01:00
parent 1aa2236f64
commit 36682c25cf
4 changed files with 33 additions and 8 deletions

View file

@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "github.com/google/safehtml";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "google";
repo = "safehtml";
rev = "84376441970934a68e39214e319511a596b8d015";
hash = "sha256:0w25d86rz7afrnk349g6qsdf0fglsazrr1xzxgaw44rqj315wqf2";
};
deps = [
depot.third_party.gopkgs."golang.org".x.text.unicode.rangetable
];
}

View file

@ -1,8 +0,0 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
args: {
pgconn = import ./pgconn args;
pgx = import ./pgx args;
}

View file

@ -17,6 +17,7 @@ depot.third_party.buildGo.external {
depot.third_party.gopkgs."github.com".jackc.pgio depot.third_party.gopkgs."github.com".jackc.pgio
depot.third_party.gopkgs."github.com".jackc.pgproto3.v2 depot.third_party.gopkgs."github.com".jackc.pgproto3.v2
depot.third_party.gopkgs."github.com".jackc.pgtype depot.third_party.gopkgs."github.com".jackc.pgtype
depot.third_party.gopkgs."github.com".jackc.puddle
depot.third_party.gopkgs."golang.org".x.xerrors depot.third_party.gopkgs."golang.org".x.xerrors
]; ];
} }

View file

@ -0,0 +1,15 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "github.com/jackc/puddle";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "jackc";
repo = "puddle";
rev = "8a2237ffa5d713d0bb0c8af2792cb4fa1ce89729";
hash = "sha256:1l7lvlm4jv3ikgmppwzz5xcxzdqv18yx0vgq5qfaqifaags0cjvd";
};
deps = [];
}