2021-01-25 09:26:54 +01:00
|
|
|
{ fetchFromGitHub, lib, buildGoModule }:
|
2019-12-15 23:58:16 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2021-08-15 01:53:11 +02:00
|
|
|
pname = "dolt";
|
2023-06-12 03:46:51 +02:00
|
|
|
version = "1.3.0";
|
2019-12-15 23:58:16 +01:00
|
|
|
|
2021-08-15 01:53:11 +02:00
|
|
|
src = fetchFromGitHub {
|
2022-04-23 19:59:24 +02:00
|
|
|
owner = "dolthub";
|
2021-08-15 01:53:11 +02:00
|
|
|
repo = "dolt";
|
|
|
|
rev = "v${version}";
|
2023-06-12 03:46:51 +02:00
|
|
|
sha256 = "sha256-fgppjXg7PcUmh57HrOvxnHy3Si23JeP2QedqWcxBiTY=";
|
2021-08-15 01:53:11 +02:00
|
|
|
};
|
2019-12-15 23:58:16 +01:00
|
|
|
|
2021-08-15 01:53:11 +02:00
|
|
|
modRoot = "./go";
|
2023-06-01 17:11:12 +02:00
|
|
|
subPackages = [ "cmd/dolt" ];
|
2023-06-12 03:46:51 +02:00
|
|
|
vendorHash = "sha256-GbMjIoTZMJUJVU4McSayX8aWu7iFI6NBPcbQ5oj8xn0=";
|
2023-06-01 17:11:12 +02:00
|
|
|
proxyVendor = true;
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-08-15 01:53:11 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Relational database with version control and CLI a-la Git";
|
2022-04-23 19:59:24 +02:00
|
|
|
homepage = "https://github.com/dolthub/dolt";
|
2021-08-15 01:53:11 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ danbst ];
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|