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-23 08:25:07 +00:00
version = "0.76.0";
2021-07-03 08:32:03 +00:00
src = fetchFromGitHub {
owner = "planetscale";
repo = "cli";
rev = "v${version}";
2021-09-23 08:25:07 +00:00
sha256 = "sha256-yfTfWMyRo1QP0QCbJOxNC1eAYmJQ/yKvWjThXd7r7Bc=";
2021-07-03 08:32:03 +00:00
};
2021-09-23 08:25:07 +00:00
vendorSha256 = "sha256-dD+8ZraY0RvoGxJZSWG31Iif+R5CDNtQ9H7J8Ty0x7U=";
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 ];
};
}