02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
26 lines
688 B
Nix
26 lines
688 B
Nix
{ fetchFromGitHub, lib, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dolt";
|
|
version = "0.40.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dolthub";
|
|
repo = "dolt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-KIV9ZEVmx7gsFHjtb8d0QfDwN7eQTsS2jYBKrKj988Y=";
|
|
};
|
|
|
|
modRoot = "./go";
|
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
|
vendorSha256 = "sha256-5FGcM9TFl0BGsN3hryIm1hQDCiRww2AEf2kUw3Uga78=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Relational database with version control and CLI a-la Git";
|
|
homepage = "https://github.com/dolthub/dolt";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ danbst ];
|
|
};
|
|
}
|