27 lines
696 B
Nix
27 lines
696 B
Nix
{ fetchFromGitHub, lib, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dolt";
|
|
version = "1.43.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dolthub";
|
|
repo = "dolt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-dmRi+VZWmHPbTgkShS/zQ7/JaNJ2GSw0l1gGEC/zmkA=";
|
|
};
|
|
|
|
modRoot = "./go";
|
|
subPackages = [ "cmd/dolt" ];
|
|
vendorHash = "sha256-FXVLvPoKzMuGpaXa3sDATURDwhrBwY6wUTnxcjEA0PU=";
|
|
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 ];
|
|
};
|
|
}
|