2020-03-21 10:38:00 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
2019-12-15 23:58:16 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "dolt";
|
2020-03-14 06:01:03 +01:00
|
|
|
version = "0.15.0";
|
2019-12-15 23:58:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "liquidata-inc";
|
|
|
|
repo = "dolt";
|
|
|
|
rev = "v${version}";
|
2020-03-14 06:01:03 +01:00
|
|
|
sha256 = "1zn5ws6x42niwq9rscn63ddpp0558k0lgncmf01p243jlkdnfsg3";
|
2019-12-15 23:58:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
modRoot = "./go";
|
|
|
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
2020-03-14 06:01:03 +01:00
|
|
|
modSha256 = "04bsj8mfamnbq3y2aqbx1605azi8v15nbdh1zk5grni0ihlal75a";
|
2019-12-15 23:58:16 +01:00
|
|
|
|
2020-03-21 10:38:00 +01:00
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
}
|