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-08-21 13:32:41 +00:00
|
|
|
version = "0.40.26";
|
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-08-21 13:32:41 +00:00
|
|
|
sha256 = "sha256-onv7IGB8Tq1R0KDQkZQnzY5EWAk2hn+7LnbjZPicUUE=";
|
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-08-21 13:32:41 +00:00
|
|
|
vendorSha256 = "sha256-5MWEc3gWmBHWbasdGvgYPd4eelH+FwkoR9SAB/gi6nY=";
|
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
|
|
|
}
|