depot/third_party/nixpkgs/pkgs/by-name/ba/badger/package.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

30 lines
633 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "badger";
version = "4.2.0";
src = fetchFromGitHub {
owner = "dgraph-io";
repo = "badger";
rev = "v${version}";
hash = "sha256-+b+VTGUGmqixB51f1U2QK+XfVra4zXybW19n/CeeoAQ=";
};
vendorHash = "sha256-YiSmxtRt8HtYcvPL9ZKMjb2ch/MZBjZp5pIIBdqQ7Nw=";
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 ];
};
}