2021-07-03 09:32:03 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pscale";
|
2021-11-03 21:59:36 +00:00
|
|
|
version = "0.85.0";
|
2021-07-03 09:32:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "planetscale";
|
|
|
|
repo = "cli";
|
|
|
|
rev = "v${version}";
|
2021-11-03 21:59:36 +00:00
|
|
|
sha256 = "sha256-I2t5tuBlO2RpY8+zWSTIDOziriqE6PGKVIwPdmvXuKo=";
|
2021-07-03 09:32:03 +01:00
|
|
|
};
|
|
|
|
|
2021-11-03 21:59:36 +00:00
|
|
|
vendorSha256 = "sha256-V7iXPM2WTR5zls/EFxpoLKrconP88om6y2CFNiuS6g4=";
|
2021-07-03 09:32:03 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.planetscale.com/";
|
|
|
|
changelog = "https://github.com/planetscale/cli/releases/tag/v${version}";
|
|
|
|
description = "The CLI for PlanetScale Database";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ pimeys ];
|
|
|
|
};
|
|
|
|
}
|