28 lines
876 B
Nix
28 lines
876 B
Nix
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dolt";
|
|
version = "0.15.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "liquidata-inc";
|
|
repo = "dolt";
|
|
rev = "v${version}";
|
|
sha256 = "1zn5ws6x42niwq9rscn63ddpp0558k0lgncmf01p243jlkdnfsg3";
|
|
};
|
|
|
|
modRoot = "./go";
|
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
|
modSha256 = "04bsj8mfamnbq3y2aqbx1605azi8v15nbdh1zk5grni0ihlal75a";
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
meta = with stdenv.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 ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
};
|
|
}
|