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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
687 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, buildGoModule }:
buildGoModule rec {
2021-08-14 23:53:11 +00:00
pname = "dolt";
version = "0.39.2";
2021-08-14 23:53:11 +00:00
src = fetchFromGitHub {
owner = "dolthub";
2021-08-14 23:53:11 +00:00
repo = "dolt";
rev = "v${version}";
sha256 = "sha256-rCGjBb5aiDLPBKYX4jhHxtBDf3Xs1/p1DdsFmdfLNLM=";
2021-08-14 23:53:11 +00:00
};
2021-08-14 23:53:11 +00:00
modRoot = "./go";
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
vendorSha256 = "sha256-yemt7hUcLXgC42B2q4+1MalGd3jCMHcVD/Bpq8B2x7M=";
doCheck = false;
2021-08-14 23:53:11 +00:00
meta = with lib; {
description = "Relational database with version control and CLI a-la Git";
homepage = "https://github.com/dolthub/dolt";
2021-08-14 23:53:11 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ danbst ];
};
}