mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
24 lines
634 B
Nix
24 lines
634 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pscale";
|
|
version = "0.76.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "planetscale";
|
|
repo = "cli";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-yfTfWMyRo1QP0QCbJOxNC1eAYmJQ/yKvWjThXd7r7Bc=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-dD+8ZraY0RvoGxJZSWG31Iif+R5CDNtQ9H7J8Ty0x7U=";
|
|
|
|
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 ];
|
|
};
|
|
}
|