litestream: init at 0.3.5 (#127108)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
a6d8488c58
commit
ef74702bff
30
pkgs/development/tools/database/litestream/default.nix
Normal file
30
pkgs/development/tools/database/litestream/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "litestream";
|
||||
version = "0.3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "benbjohnson";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-OQ8j0FOUWU5TfCl4AZpmX5tuhtHAbrhvzT6ve6AJNn0=";
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.Version=${version}"
|
||||
];
|
||||
|
||||
vendorSha256 = "sha256-ScG8cukUuChOvN9r0HvVJsYnu1X9DSO7aD32iu55jIM=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Streaming replication for SQLite";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://litestream.io/";
|
||||
maintainers = with maintainers; [ fbrs ];
|
||||
};
|
||||
}
|
@ -13652,6 +13652,8 @@ in
|
||||
|
||||
litecli = callPackage ../development/tools/database/litecli {};
|
||||
|
||||
litestream = callPackage ../development/tools/database/litestream {};
|
||||
|
||||
lsof = callPackage ../development/tools/misc/lsof { };
|
||||
|
||||
ltrace = callPackage ../development/tools/misc/ltrace { };
|
||||
|
Loading…
Reference in New Issue
Block a user