depot/third_party/nixpkgs/pkgs/servers/sql/dolt/default.nix

27 lines
669 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, buildGoModule }:
buildGoModule rec {
pname = "dolt";
version = "1.34.3";
src = fetchFromGitHub {
owner = "dolthub";
repo = "dolt";
rev = "v${version}";
sha256 = "sha256-/H3jOEMrmhpcuPorv7hebs7LdNftJNXh9aRzxlpmOEY=";
};
modRoot = "./go";
subPackages = [ "cmd/dolt" ];
vendorHash = "sha256-xkqpdY/8zvRT09WQ5RajXtHIoe8MeQaJ8kQie9EFoZE=";
proxyVendor = true;
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 ];
};
}