nixpkgs/pkgs/development/tools/turso-cli/default.nix
2023-09-07 09:34:03 +10:00

29 lines
693 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "turso-cli";
version = "0.82.0";
src = fetchFromGitHub {
owner = "tursodatabase";
repo = "turso-cli";
rev = "v${version}";
hash = "sha256-JFuD10EhR1/nmYPMnNsR/8PUR5ScvWyS+vhg7ZO5TpI=";
};
vendorHash = "sha256-Y/pg8+w6B1YQqaZ5wj8QZxiBHAG0Tf3Zec5WlVyA4eI=";
# Test_setDatabasesCache fails due to /homeless-shelter: read-only file system error.
doCheck = false;
meta = with lib; {
description = "This is the command line interface (CLI) to Turso.";
homepage = "https://turso.tech";
license = licenses.mit;
maintainers = with maintainers; [ zestsystem kashw2 ];
};
}