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

27 lines
699 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, buildGoModule }:
buildGoModule rec {
2021-08-15 01:53:11 +02:00
pname = "dolt";
2021-08-17 05:37:29 +02:00
version = "0.27.4";
2021-08-15 01:53:11 +02:00
src = fetchFromGitHub {
owner = "liquidata-inc";
repo = "dolt";
rev = "v${version}";
2021-08-17 05:37:29 +02:00
sha256 = "sha256-q3zs402E3mqvxAuf/ll/ao9/c9NOWR7uYJMbieFXS1U=";
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" ];
2021-08-17 05:37:29 +02:00
vendorSha256 = "sha256-zF7pofbYrVzEiW6zttyePuEWueqKRKclc0WrYwb1bCU=";
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/liquidata-inc/dolt";
license = licenses.asl20;
maintainers = with maintainers; [ danbst ];
};
}