2021-01-25 09:26:54 +01:00
|
|
|
{ fetchFromGitHub, lib, buildGoModule }:
|
2019-12-15 23:58:16 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2021-08-15 01:53:11 +02:00
|
|
|
pname = "dolt";
|
2021-10-29 12:33:14 +02:00
|
|
|
version = "0.32.1";
|
2019-12-15 23:58:16 +01:00
|
|
|
|
2021-08-15 01:53:11 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liquidata-inc";
|
|
|
|
repo = "dolt";
|
|
|
|
rev = "v${version}";
|
2021-10-29 12:33:14 +02:00
|
|
|
sha256 = "sha256-03cWsZEPjsUPyrGoU+RFkPb/BjYfLgO5sE50k9U1GjQ=";
|
2021-08-15 01:53:11 +02:00
|
|
|
};
|
2019-12-15 23:58:16 +01:00
|
|
|
|
2021-08-15 01:53:11 +02:00
|
|
|
modRoot = "./go";
|
|
|
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
2021-10-29 12:33:14 +02:00
|
|
|
vendorSha256 = "sha256-7nmpsmisrtBxdLgC9mwSDYbjtbCrGl564+deC9CaYps=";
|
2019-12-15 23:58:16 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-08-15 01:53:11 +02: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-07-31 05:58:04 +02:00
|
|
|
}
|