2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-10-17 16:35:58 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "stripe-cli";
|
2021-09-16 20:11:55 +01:00
|
|
|
version = "1.7.3";
|
2020-10-17 16:35:58 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stripe";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-16 20:11:55 +01:00
|
|
|
sha256 = "sha256-Hlh2nfqQD+HMoJ2n1vfffn5ieEKSMtXpdoM0ydFQqrc=";
|
2020-10-17 16:35:58 +01:00
|
|
|
};
|
|
|
|
|
2021-09-16 20:11:55 +01:00
|
|
|
vendorSha256 = "sha256-DTNwgerJ7qZxH4imdrST7TaR20oevDluEDgAlubg5hw=";
|
2020-10-17 16:35:58 +01:00
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/stripe"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|