2021-01-25 08:26:54 +00:00
|
|
|
{ fetchFromGitHub, lib, buildGoModule }:
|
2019-12-15 22:58:16 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2021-08-14 23:53:11 +00:00
|
|
|
pname = "dolt";
|
2022-04-23 17:59:24 +00:00
|
|
|
version = "0.39.2";
|
2019-12-15 22:58:16 +00:00
|
|
|
|
2021-08-14 23:53:11 +00:00
|
|
|
src = fetchFromGitHub {
|
2022-04-23 17:59:24 +00:00
|
|
|
owner = "dolthub";
|
2021-08-14 23:53:11 +00:00
|
|
|
repo = "dolt";
|
|
|
|
rev = "v${version}";
|
2022-04-23 17:59:24 +00:00
|
|
|
sha256 = "sha256-rCGjBb5aiDLPBKYX4jhHxtBDf3Xs1/p1DdsFmdfLNLM=";
|
2021-08-14 23:53:11 +00:00
|
|
|
};
|
2019-12-15 22:58:16 +00:00
|
|
|
|
2021-08-14 23:53:11 +00:00
|
|
|
modRoot = "./go";
|
|
|
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
2022-04-23 17:59:24 +00:00
|
|
|
vendorSha256 = "sha256-yemt7hUcLXgC42B2q4+1MalGd3jCMHcVD/Bpq8B2x7M=";
|
2019-12-15 22:58:16 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-08-14 23:53:11 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Relational database with version control and CLI a-la Git";
|
2022-04-23 17:59:24 +00:00
|
|
|
homepage = "https://github.com/dolthub/dolt";
|
2021-08-14 23:53:11 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ danbst ];
|
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|