2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib, buildGoModule }:
|
2019-12-15 22:58:16 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "dolt";
|
2020-06-30 05:26:36 +01:00
|
|
|
version = "0.18.0";
|
2019-12-15 22:58:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liquidata-inc";
|
|
|
|
repo = "dolt";
|
|
|
|
rev = "v${version}";
|
2020-06-30 05:26:36 +01:00
|
|
|
sha256 = "12kvjq3z9bggfmgci3wql4v8sh491dwp6qr768k8kwncqmp3jjvx";
|
2019-12-15 22:58:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
modRoot = "./go";
|
|
|
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
2020-06-30 05:26:36 +01:00
|
|
|
vendorSha256 = "1lscjp4ih5kxrbqch9164bqrp7lbsir6vg4zcczhvhh0phbcbqjs";
|
2019-12-15 22:58:16 +00:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-12-15 22:58:16 +00:00
|
|
|
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 ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|