Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
849 B
Nix
39 lines
849 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kine";
|
|
version = "0.14.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "k3s-io";
|
|
repo = "kine";
|
|
rev = "v${version}";
|
|
hash = "sha256-Mmtqyc5LTGQ/Ldp/g7nLXi4dX7bWKiVpeWRzYoTsmm0=";
|
|
};
|
|
|
|
vendorHash = "sha256-NG4hzMXsZmzde/EjQARKE00D13UuIQxm+cpIbHPEpB0=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/k3s-io/kine/pkg/version.Version=v${version}"
|
|
"-X github.com/k3s-io/kine/pkg/version.GitCommit=unknown"
|
|
];
|
|
|
|
env = {
|
|
"CGO_CFLAGS" = "-DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_USE_ALLOCA=1";
|
|
};
|
|
|
|
meta = {
|
|
description = "etcdshim that translates etcd API to RDMS";
|
|
homepage = "https://github.com/k3s-io/kine";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ techknowlogick ];
|
|
mainProgram = "kine";
|
|
};
|
|
}
|