depot/go/nix/nar/default.nix

20 lines
418 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }@args:
(depot.third_party.buildGo.package {
name = "nar";
path = "git.lukegb.com/lukegb/depot/go/nix/nar";
srcs = [
./dirfs.go
./inmemoryfs.go
./narpacker.go
./narunpacker.go
];
deps = with depot; [
go.nix.nixwire
];
}) // {
narinfo = import ./narinfo args;
}