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