2020-03-27 08:33:21 +01:00
|
|
|
{ stdenv, fetchFromGitHub, lib, buildGoModule }:
|
2019-12-15 23:58:16 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "dolt";
|
2020-08-01 09:02:30 +02:00
|
|
|
version = "0.18.1";
|
2019-12-15 23:58:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liquidata-inc";
|
|
|
|
repo = "dolt";
|
|
|
|
rev = "v${version}";
|
2020-08-01 09:02:30 +02:00
|
|
|
sha256 = "106n4zlrs64vx09cm365jsymaa0949k0wjb845p2lp4794r9zkf7";
|
2019-12-15 23:58:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
modRoot = "./go";
|
|
|
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
2020-08-01 09:02:30 +02:00
|
|
|
vendorSha256 = "1pvf63cxwq4jj5gi2xalrsk2z1f7i53f0z6qc2p7aibwx9i1k9cz";
|
2019-12-15 23:58:16 +01:00
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2019-12-15 23:58:16 +01: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-07-31 05:58:04 +02:00
|
|
|
}
|