nixpkgs/pkgs/by-name/do/dolt/package.nix

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

28 lines
695 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, buildGoModule }:
buildGoModule rec {
2021-08-14 23:53:11 +00:00
pname = "dolt";
2024-09-28 11:20:54 +00:00
version = "1.43.1";
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}";
2024-09-28 11:20:54 +00:00
sha256 = "sha256-i+WW8udVjLQGMg0eu03hInfXaLZzVJ4liKE4eQ/KDww=";
2021-08-14 23:53:11 +00:00
};
2021-08-14 23:53:11 +00:00
modRoot = "./go";
2023-06-01 15:11:12 +00:00
subPackages = [ "cmd/dolt" ];
2024-09-28 11:20:54 +00:00
vendorHash = "sha256-0SvM6I+zGelSUMlbeeqljfzITw0Cnl2BZHJ78n+m5ds=";
2023-06-01 15:11:12 +00:00
proxyVendor = true;
doCheck = false;
2021-08-14 23:53:11 +00:00
meta = with lib; {
description = "Relational database with version control and CLI a-la Git";
mainProgram = "dolt";
homepage = "https://github.com/dolthub/dolt";
2021-08-14 23:53:11 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ danbst ];
};
}