1{ fetchFromGitHub, lib, buildGoModule }:
2
3buildGoModule rec {
4 pname = "dolt";
5 version = "1.41.3";
6
7 src = fetchFromGitHub {
8 owner = "dolthub";
9 repo = "dolt";
10 rev = "v${version}";
11 sha256 = "sha256-jp7LVPrAPUAKfsPMi+frCvG+7YH8dInbVVgwijVxSA8=";
12 };
13
14 modRoot = "./go";
15 subPackages = [ "cmd/dolt" ];
16 vendorHash = "sha256-Wbhvk3q4IVzIuZ3TnwSUORv8uNmTYJ/qu7dM9ROwMNA=";
17 proxyVendor = true;
18 doCheck = false;
19
20 meta = with lib; {
21 description = "Relational database with version control and CLI a-la Git";
22 mainProgram = "dolt";
23 homepage = "https://github.com/dolthub/dolt";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ danbst ];
26 };
27}