Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / ba / badger / package.nix
blob4c41b8f884962f10f2303d00dfc3ad20e91530e3
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "badger";
8   version = "4.2.0";
10   src = fetchFromGitHub {
11     owner = "dgraph-io";
12     repo = "badger";
13     rev = "v${version}";
14     hash = "sha256-+b+VTGUGmqixB51f1U2QK+XfVra4zXybW19n/CeeoAQ=";
15   };
17   vendorHash = "sha256-YiSmxtRt8HtYcvPL9ZKMjb2ch/MZBjZp5pIIBdqQ7Nw=";
19   subPackages = [ "badger" ];
21   doCheck = false;
23   meta = with lib; {
24     description = "Fast key-value DB in Go";
25     homepage = "https://github.com/dgraph-io/badger";
26     license = licenses.asl20;
27     mainProgram = "badger";
28     maintainers = with maintainers; [ farcaller ];
29   };