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";
|
2021-09-22 15:38:15 +00:00
|
|
|
version = "0.28.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liquidata-inc";
|
|
|
|
repo = "dolt";
|
|
|
|
rev = "v${version}";
|
2021-09-22 15:38:15 +00:00
|
|
|
sha256 = "sha256-J/4YEiSmoWhs+pnJN21CwNwpujZ1cldLmgwajBB+IRU=";
|
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" ];
|
2021-09-22 15:38:15 +00:00
|
|
|
vendorSha256 = "sha256-l3jRQ4Z7xku1nMfYfc6nJ3qF6A1maY0tRfZpHCtsujI=";
|
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";
|
|
|
|
homepage = "https://github.com/liquidata-inc/dolt";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ danbst ];
|
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|