b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
30 lines
622 B
Nix
30 lines
622 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "litestream";
|
|
version = "0.3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "benbjohnson";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-zs+Li8ylw+zexxuEkXX4qk7qslk23BLBcoHXRIuQNmU=";
|
|
};
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X main.Version=${version}"
|
|
];
|
|
|
|
vendorSha256 = "sha256-GiCvifdbWz+hH6aHACzlBpppNC5p24MHRWlbtKLIFhE=";
|
|
|
|
meta = with lib; {
|
|
description = "Streaming replication for SQLite";
|
|
license = licenses.asl20;
|
|
homepage = "https://litestream.io/";
|
|
maintainers = with maintainers; [ fbrs ];
|
|
};
|
|
}
|