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

28 lines
805 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, buildGoModule }:
buildGoModule rec {
pname = "dolt";
2021-01-29 00:30:18 +00:00
version = "0.22.12";
src = fetchFromGitHub {
owner = "liquidata-inc";
repo = "dolt";
rev = "v${version}";
2021-01-29 00:30:18 +00:00
sha256 = "sha256-SYgBy2WGP6ssMDohnbflnd2XpF8iwmxoTTlHQYc1+Wo=";
};
modRoot = "./go";
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
2021-01-29 00:30:18 +00:00
vendorSha256 = "sha256-Q87cGO82EmehpuMR3SCW9oF8DtaGURp4coLec4Rv2Js=";
doCheck = false;
meta = with lib; {
description = "Relational database with version control and CLI a-la Git";
homepage = "https://github.com/liquidata-inc/dolt";
license = licenses.asl20;
maintainers = with maintainers; [ danbst ];
platforms = platforms.linux ++ platforms.darwin;
};
}