nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at python-updates 45 lines 951 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "litefs"; 9 version = "0.5.14"; 10 11 src = fetchFromGitHub { 12 owner = "superfly"; 13 repo = "litefs"; 14 rev = "v${version}"; 15 sha256 = "sha256-URwHnOvvz/UnrxoFIuUYpw10uPHgxQf9LPO1xECixDE="; 16 }; 17 18 vendorHash = "sha256-i0gYhPwcs3dfWy6GANlUl1Nc+dXD8KuAT71FATwxpDo="; 19 20 subPackages = [ "cmd/litefs" ]; 21 22 # following https://github.com/superfly/litefs/blob/main/Dockerfile 23 ldflags = [ 24 "-s" 25 "-w" 26 "-X main.Version=${version}" 27 "-extldflags=-static" 28 ]; 29 30 tags = [ 31 "osusergo" 32 "netgo" 33 "sqlite_omit_load_extension" 34 ]; 35 36 doCheck = false; # fails 37 38 meta = { 39 description = "FUSE-based file system for replicating SQLite databases across a cluster of machines"; 40 homepage = "https://github.com/superfly/litefs"; 41 license = lib.licenses.asl20; 42 maintainers = with lib.maintainers; [ dit7ya ]; 43 mainProgram = "litefs"; 44 }; 45}