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";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "1.41.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}";
|
2024-07-01 15:47:52 +00:00
|
|
|
sha256 = "sha256-IeLG2IRHGrx5F3tIcvilhgC9BUFHpIpbzTo6vdQj+ZE=";
|
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" ];
|
2024-07-01 15:47:52 +00:00
|
|
|
vendorHash = "sha256-bqTw4k2WWE7vsp36Ldexnp/eoFOBUL5po8lZzsbv7D4=";
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "dolt";
|
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
|
|
|
}
|