nixpkgs/pkgs/tools/admin/stripe-cli/default.nix

27 lines
612 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-10-17 16:35:58 +01:00
buildGoModule rec {
pname = "stripe-cli";
2021-02-09 21:51:29 +00:00
version = "1.5.9";
2020-10-17 16:35:58 +01:00
src = fetchFromGitHub {
owner = "stripe";
repo = pname;
rev = "v${version}";
2021-02-09 21:51:29 +00:00
sha256 = "sha256-fR4MFEytYZA4zt4WFGnEp9YDCtX6peQoI+NynqyReT8=";
2020-10-17 16:35:58 +01:00
};
2021-02-06 20:08:54 +00:00
vendorSha256 = "sha256-GQACtHTid1Aq5iSQqks10hmGS+VUlwNoM1LG+liynhU=";
2020-10-17 16:35:58 +01:00
subPackages = [
"cmd/stripe"
];
meta = with lib; {
2020-10-17 16:35:58 +01:00
homepage = "https://stripe.com/docs/stripe-cli";
description = "A command-line tool for Stripe";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ RaghavSood ];
};
}