2021-02-05 17:12:51 +00:00
|
|
|
{ fetchFromGitHub, lib, buildGoModule }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2021-08-18 13:19:15 +00:00
|
|
|
pname = "dolt";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.15.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
src = fetchFromGitHub {
|
2022-04-27 09:35:20 +00:00
|
|
|
owner = "dolthub";
|
2021-08-18 13:19:15 +00:00
|
|
|
repo = "dolt";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-+pUlnL8Ie/+of/kEv7d3gqF3d0HaYjWgZf0ycNQcaC0=";
|
2021-08-18 13:19:15 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
modRoot = "./go";
|
2023-07-15 17:15:38 +00:00
|
|
|
subPackages = [ "cmd/dolt" ];
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-e90yn7vZo15BrP91PrFGMogNNy3VAP8rew4cjVa6puM=";
|
2023-07-15 17:15:38 +00:00
|
|
|
proxyVendor = true;
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Relational database with version control and CLI a-la Git";
|
2022-04-27 09:35:20 +00:00
|
|
|
homepage = "https://github.com/dolthub/dolt";
|
2021-08-18 13:19:15 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ danbst ];
|
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|