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";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "0.40.28";
|
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}";
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-ROwOe3/D9f8+n4S35kGiSTv2sQ8nurdSL5t1zhRnTkQ=";
|
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";
|
|
|
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
2022-09-09 14:08:57 +00:00
|
|
|
vendorSha256 = "sha256-hr3PotsHk/BpOm4QLM84Jd5ZBGaj/xp/qWPfbBpKF00=";
|
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
|
|
|
}
|