24 lines
582 B
Nix
24 lines
582 B
Nix
|
# SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
|
||
|
#
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
{ depot, pkgs, ... }:
|
||
|
depot.third_party.buildGo.external {
|
||
|
path = "github.com/mattn/go-sqlite3";
|
||
|
src = depot.third_party.nixpkgs.fetchFromGitHub {
|
||
|
owner = "mattn";
|
||
|
repo = "go-sqlite3";
|
||
|
rev = "v1.14.15";
|
||
|
hash = "sha256:0rkila12zj2q3bzyljg3l6jya9n1i0z625pjblzgmm0xyrkk1i1v";
|
||
|
};
|
||
|
tags = [ "linux" "libsqlite3" ];
|
||
|
cgo = true;
|
||
|
cgodeps = with pkgs; [
|
||
|
sqlite
|
||
|
];
|
||
|
|
||
|
deps = with depot.third_party; [
|
||
|
#gopkgs."github.com".mattn.go-isatty
|
||
|
];
|
||
|
}
|