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
688 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, buildGoModule }:
buildGoModule rec {
2021-08-15 01:53:11 +02:00
pname = "dolt";
2022-08-24 12:04:20 +02:00
version = "0.40.28";
2021-08-15 01:53:11 +02:00
src = fetchFromGitHub {
owner = "dolthub";
2021-08-15 01:53:11 +02:00
repo = "dolt";
rev = "v${version}";
2022-08-24 12:04:20 +02:00
sha256 = "sha256-ROwOe3/D9f8+n4S35kGiSTv2sQ8nurdSL5t1zhRnTkQ=";
2021-08-15 01:53:11 +02:00
};
2021-08-15 01:53:11 +02:00
modRoot = "./go";
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
2022-08-24 12:04:20 +02:00
vendorSha256 = "sha256-hr3PotsHk/BpOm4QLM84Jd5ZBGaj/xp/qWPfbBpKF00=";
doCheck = false;
2021-08-15 01:53:11 +02:00
meta = with lib; {
description = "Relational database with version control and CLI a-la Git";
homepage = "https://github.com/dolthub/dolt";
2021-08-15 01:53:11 +02:00
license = licenses.asl20;
maintainers = with maintainers; [ danbst ];
};
}