2021-07-25 12:57:19 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-10-09 15:46:55 +00:00
|
|
|
{ depot, ... }@args:
|
|
|
|
(depot.third_party.buildGo.package {
|
|
|
|
name = "nar";
|
|
|
|
path = "hg.lukegb.com/lukegb/depot/go/nix/nar";
|
|
|
|
srcs = [
|
|
|
|
./dirfs.go
|
2023-08-23 23:00:44 +00:00
|
|
|
./inmemoryfs.go
|
|
|
|
./narpacker.go
|
|
|
|
./narunpacker.go
|
2022-10-09 15:46:55 +00:00
|
|
|
];
|
2022-10-09 20:27:14 +00:00
|
|
|
deps = with depot; [
|
|
|
|
go.nix.nixwire
|
|
|
|
];
|
2022-10-09 15:46:55 +00:00
|
|
|
}) // {
|
2021-07-27 21:06:59 +00:00
|
|
|
narinfo = import ./narinfo args;
|
2021-07-25 12:57:19 +00:00
|
|
|
}
|