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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
634 B
Nix
Raw Normal View History

2021-07-03 10:32:03 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pscale";
2022-02-13 01:35:20 +01:00
version = "0.89.0";
2021-07-03 10:32:03 +02:00
src = fetchFromGitHub {
owner = "planetscale";
repo = "cli";
rev = "v${version}";
2022-02-13 01:35:20 +01:00
sha256 = "sha256-6iExcck9s5Z6c8QA+F+Fnk5g0WNmifaSQa2KaIS9m8M=";
2021-07-03 10:32:03 +02:00
};
2021-12-23 17:32:45 +01:00
vendorSha256 = "sha256-kNt7tMHubpcrfzAjf++GxV3kEj2g6fHFrP9cY8UPqB8=";
2021-07-03 10:32:03 +02: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 ];
};
}