about summary refs log tree commit diff
path: root/pkgs/development/tools/pscale
diff options
context:
space:
mode:
authorJulius de Bruijn <julius+github@nauk.io>2021-07-03 10:32:03 +0200
committerJulius de Bruijn <julius+github@nauk.io>2021-07-03 10:32:03 +0200
commitdcd1a5d673ddadb0eb26bc83285572e3ef0fef8c (patch)
treee20b667e32c662a99ea5be5adb131d8f7724ae8f /pkgs/development/tools/pscale
parent2a989bfbcebbd7184bd92bccc5a8eeec415dde91 (diff)
downloadnixlib-dcd1a5d673ddadb0eb26bc83285572e3ef0fef8c.tar
nixlib-dcd1a5d673ddadb0eb26bc83285572e3ef0fef8c.tar.gz
nixlib-dcd1a5d673ddadb0eb26bc83285572e3ef0fef8c.tar.bz2
nixlib-dcd1a5d673ddadb0eb26bc83285572e3ef0fef8c.tar.lz
nixlib-dcd1a5d673ddadb0eb26bc83285572e3ef0fef8c.tar.xz
nixlib-dcd1a5d673ddadb0eb26bc83285572e3ef0fef8c.tar.zst
nixlib-dcd1a5d673ddadb0eb26bc83285572e3ef0fef8c.zip
pscale: Init at 0.51.0
Diffstat (limited to 'pkgs/development/tools/pscale')
-rw-r--r--pkgs/development/tools/pscale/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/pscale/default.nix b/pkgs/development/tools/pscale/default.nix
new file mode 100644
index 000000000000..701c22471ee4
--- /dev/null
+++ b/pkgs/development/tools/pscale/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "pscale";
+  version = "0.51.0";
+
+  src = fetchFromGitHub {
+    owner = "planetscale";
+    repo = "cli";
+    rev = "v${version}";
+    sha256 = "sha256-ykHwDVwL30uXeCEP4EcM8TPYqZmCDDAUUpfinpYipHE=";
+  };
+
+  vendorSha256 = "sha256-3VP2fluQLZs4nWT3O6NmCFxrqKw0/j3ASNxtbXHlZEA=";
+
+  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 ];
+  };
+}