Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
30 lines
633 B
Nix
30 lines
633 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "badger";
|
|
version = "4.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dgraph-io";
|
|
repo = "badger";
|
|
rev = "v${version}";
|
|
hash = "sha256-Kzhua1nF9Y0j6Ez35ucKdYMRR46yEwM0pJ8P6A7pUrw=";
|
|
};
|
|
|
|
vendorHash = "sha256-A9rMLWjCpM9VrXmWXNo/mZbGCBKrakxbjthVOl2aDa4=";
|
|
|
|
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 ];
|
|
};
|
|
}
|