2021-07-03 10:32:03 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pscale";
|
2021-11-03 22:59:36 +01:00
|
|
|
version = "0.85.0";
|
2021-07-03 10:32:03 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "planetscale";
|
|
|
|
repo = "cli";
|
|
|
|
rev = "v${version}";
|
2021-11-03 22:59:36 +01:00
|
|
|
sha256 = "sha256-I2t5tuBlO2RpY8+zWSTIDOziriqE6PGKVIwPdmvXuKo=";
|
2021-07-03 10:32:03 +02:00
|
|
|
};
|
|
|
|
|
2021-11-03 22:59:36 +01:00
|
|
|
vendorSha256 = "sha256-V7iXPM2WTR5zls/EFxpoLKrconP88om6y2CFNiuS6g4=";
|
2021-07-03 10:32:03 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|