Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 26 lines 670 B view raw
1{ fetchFromGitHub, lib, buildGoModule }: 2 3buildGoModule rec { 4 pname = "dolt"; 5 version = "1.2.2"; 6 7 src = fetchFromGitHub { 8 owner = "dolthub"; 9 repo = "dolt"; 10 rev = "v${version}"; 11 sha256 = "sha256-4WnHJzHxd3wK1kEN2fvnp6PPnTnL28TTnOD0th2UK1U="; 12 }; 13 14 modRoot = "./go"; 15 subPackages = [ "cmd/dolt" ]; 16 vendorSha256 = "sha256-hzhAuM6xPKl0KTlf02hAs7+jKX93JWe6aLfBwHWV8Eg="; 17 proxyVendor = true; 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}