98eb3e9ef5
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
27 lines
695 B
Nix
27 lines
695 B
Nix
{ fetchFromGitHub, lib, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dolt";
|
|
version = "1.41.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dolthub";
|
|
repo = "dolt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-IeLG2IRHGrx5F3tIcvilhgC9BUFHpIpbzTo6vdQj+ZE=";
|
|
};
|
|
|
|
modRoot = "./go";
|
|
subPackages = [ "cmd/dolt" ];
|
|
vendorHash = "sha256-bqTw4k2WWE7vsp36Ldexnp/eoFOBUL5po8lZzsbv7D4=";
|
|
proxyVendor = true;
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Relational database with version control and CLI a-la Git";
|
|
mainProgram = "dolt";
|
|
homepage = "https://github.com/dolthub/dolt";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ danbst ];
|
|
};
|
|
}
|