2021-07-14 22:03:04 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pscale";
|
2021-07-17 21:14:59 +00:00
|
|
|
version = "0.58.0";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "planetscale";
|
|
|
|
repo = "cli";
|
|
|
|
rev = "v${version}";
|
2021-07-17 21:14:59 +00:00
|
|
|
sha256 = "sha256-9XVvdAt/TWQdCY8s//QHZC6THFAf+pMYQpjHjUR3wrc=";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
|
2021-07-17 21:14:59 +00:00
|
|
|
vendorSha256 = "sha256-m6eQ843aP68TO4W5Nq4zKqcf2wgdH/7Srzt37t/NSdk=";
|
2021-07-14 22:03:04 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|