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.15.0";
src = fetchFromGitHub {
owner = "dolthub";
repo = "dolt";
rev = "v${version}";
sha256 = "sha256-+pUlnL8Ie/+of/kEv7d3gqF3d0HaYjWgZf0ycNQcaC0=";
};
modRoot = "./go";
subPackages = [ "cmd/dolt" ];
vendorHash = "sha256-e90yn7vZo15BrP91PrFGMogNNy3VAP8rew4cjVa6puM=";
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 ];
};
}