mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
28 lines
695 B
Nix
28 lines
695 B
Nix
{ fetchFromGitHub, lib, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dolt";
|
|
version = "1.41.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dolthub";
|
|
repo = "dolt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-jp7LVPrAPUAKfsPMi+frCvG+7YH8dInbVVgwijVxSA8=";
|
|
};
|
|
|
|
modRoot = "./go";
|
|
subPackages = [ "cmd/dolt" ];
|
|
vendorHash = "sha256-Wbhvk3q4IVzIuZ3TnwSUORv8uNmTYJ/qu7dM9ROwMNA=";
|
|
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 ];
|
|
};
|
|
}
|