Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
638 B
Nix
Raw Permalink Normal View History

2023-09-19 08:20:29 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "badger";
2025-07-16 00:18:42 +00:00
version = "4.8.0";
2023-09-19 08:20:29 +00:00
src = fetchFromGitHub {
owner = "dgraph-io";
repo = "badger";
rev = "v${version}";
2025-07-16 00:18:42 +00:00
hash = "sha256-LkJp0ixEJcD0mGeafjFoxjekeyep2nbZPXgVcMEofAU=";
2023-09-19 08:20:29 +00:00
};
2025-07-16 00:18:42 +00:00
vendorHash = "sha256-I7N85gdf4Bm/0zTcdFfbpah9veSpOzZcTvd7Ku5Xqpg=";
2023-09-19 08:20:29 +00:00
subPackages = [ "badger" ];
doCheck = false;
meta = with lib; {
description = "Fast key-value DB in Go";
homepage = "https://github.com/dgraph-io/badger";
license = licenses.asl20;
mainProgram = "badger";
maintainers = with maintainers; [ farcaller ];
};
}