42802b544f
Updating GitHub reference and building Dolt with Go 1.18
26 lines
687 B
Nix
26 lines
687 B
Nix
{ fetchFromGitHub, lib, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dolt";
|
|
version = "0.39.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dolthub";
|
|
repo = "dolt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-rCGjBb5aiDLPBKYX4jhHxtBDf3Xs1/p1DdsFmdfLNLM=";
|
|
};
|
|
|
|
modRoot = "./go";
|
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
|
vendorSha256 = "sha256-yemt7hUcLXgC42B2q4+1MalGd3jCMHcVD/Bpq8B2x7M=";
|
|
|
|
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 ];
|
|
};
|
|
}
|