nixpkgs/pkgs/development/tools/pscale/default.nix

24 lines
634 B
Nix
Raw Normal View History

2021-07-03 08:32:03 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pscale";
2021-09-15 20:37:07 +00:00
version = "0.72.0";
2021-07-03 08:32:03 +00:00
src = fetchFromGitHub {
owner = "planetscale";
repo = "cli";
rev = "v${version}";
2021-09-15 20:37:07 +00:00
sha256 = "sha256-+T1C7qLXSmdpx9uHFK3o4hzaAImd5or/MkE3PB8ZiAs=";
2021-07-03 08:32:03 +00:00
};
2021-09-15 20:37:07 +00:00
vendorSha256 = "sha256-7VtDAln/uGalio0pcpqh8XLC0+72dokF+4SmuhPF8AY=";
2021-07-03 08:32:03 +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 ];
};
}