# SPDX-FileCopyrightText: 2022 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0

{ depot, ... }:
depot.third_party.buildGo.package {
  name = "nixstore";
  path = "hg.lukegb.com/lukegb/depot/go/nix/nixstore";
  srcs = [
    ./nixstore.go
    ./remotestore.go
    ./sqlitestore.go
  ];
  deps = with depot; [
    go.nix.nar.narinfo
    go.nix.nixwire
    third_party.gopkgs."github.com".mattn.go-sqlite3
  ];
}