depot/third_party/nixpkgs/pkgs/servers/sql/dolt/default.nix

27 lines
688 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, buildGoModule }:
buildGoModule rec {
pname = "dolt";
version = "0.40.26";
src = fetchFromGitHub {
owner = "dolthub";
repo = "dolt";
rev = "v${version}";
sha256 = "sha256-onv7IGB8Tq1R0KDQkZQnzY5EWAk2hn+7LnbjZPicUUE=";
};
modRoot = "./go";
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
vendorSha256 = "sha256-5MWEc3gWmBHWbasdGvgYPd4eelH+FwkoR9SAB/gi6nY=";
doCheck = false;
meta = with lib; {
description = "Relational database with version control and CLI a-la Git";
homepage = "https://github.com/dolthub/dolt";
license = licenses.asl20;
maintainers = with maintainers; [ danbst ];
};
}