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-12-23 16:32:45 +00:00
version = "0.88.0";
2021-07-03 08:32:03 +00:00
src = fetchFromGitHub {
owner = "planetscale";
repo = "cli";
rev = "v${version}";
2021-12-23 16:32:45 +00:00
sha256 = "sha256-/QQ35zLqhhJw/h1u08Sb3FDz8O+7kh/pVz1EgEJQUfg=";
2021-07-03 08:32:03 +00:00
};
2021-12-23 16:32:45 +00:00
vendorSha256 = "sha256-kNt7tMHubpcrfzAjf++GxV3kEj2g6fHFrP9cY8UPqB8=";
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 ];
};
}