twitterchiver: move archiver to subattribute
This commit is contained in:
parent
ee7ad0adfd
commit
c384c31248
2 changed files with 11 additions and 9 deletions
|
@ -11,8 +11,8 @@ let
|
||||||
ciPackages = prefixAttrs "pkg" depot.nix.pkgs;
|
ciPackages = prefixAttrs "pkg" depot.nix.pkgs;
|
||||||
|
|
||||||
ciOther = prefixAttrs "other" {
|
ciOther = prefixAttrs "other" {
|
||||||
twitterchiver = depot.go.twitterchiver;
|
twitterchiver-archiver = depot.go.twitterchiver.archiver;
|
||||||
twitterchiverDocker = depot.go.twitterchiver.dockerImage;
|
twitterchiver-archiver-docker = depot.go.twitterchiver.archiver.dockerImage;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciOther)
|
pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciOther)
|
||||||
|
|
|
@ -2,11 +2,13 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
{ depot, ... }: depot.third_party.buildGo.program {
|
{ depot, ... }: {
|
||||||
name = "twitterchiver";
|
archiver = depot.third_party.buildGo.program {
|
||||||
srcs = [ ./archiver/archiver.go ];
|
name = "archiver";
|
||||||
deps = [
|
srcs = [ ./archiver/archiver.go ];
|
||||||
depot.third_party.gopkgs."github.com".dghubble.oauth1
|
deps = [
|
||||||
depot.third_party.gopkgs."github.com".jackc.pgx.v4
|
depot.third_party.gopkgs."github.com".dghubble.oauth1
|
||||||
];
|
depot.third_party.gopkgs."github.com".jackc.pgx.v4
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue