Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ fetchFromGitHub, lib, buildGoModule }: 2 3buildGoModule rec { 4 pname = "dolt"; 5 version = "0.40.28"; 6 7 src = fetchFromGitHub { 8 owner = "dolthub"; 9 repo = "dolt"; 10 rev = "v${version}"; 11 sha256 = "sha256-ROwOe3/D9f8+n4S35kGiSTv2sQ8nurdSL5t1zhRnTkQ="; 12 }; 13 14 modRoot = "./go"; 15 subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ]; 16 vendorSha256 = "sha256-hr3PotsHk/BpOm4QLM84Jd5ZBGaj/xp/qWPfbBpKF00="; 17 18 doCheck = false; 19 20 meta = with lib; { 21 description = "Relational database with version control and CLI a-la Git"; 22 homepage = "https://github.com/dolthub/dolt"; 23 license = licenses.asl20; 24 maintainers = with maintainers; [ danbst ]; 25 }; 26}