mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
31 lines
633 B
Nix
31 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 ];
|
|
};
|
|
}
|