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

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

27 lines
612 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-10-17 17:35:58 +02:00
buildGoModule rec {
pname = "stripe-cli";
2022-03-18 06:12:25 +01:00
version = "1.8.1";
2020-10-17 17:35:58 +02:00
src = fetchFromGitHub {
owner = "stripe";
repo = pname;
rev = "v${version}";
2022-03-18 06:12:25 +01:00
sha256 = "sha256-R1w+dVBIPbmBOhtVWKfB4tS+Jp1/tahRk6rifPM53HA=";
2020-10-17 17:35:58 +02:00
};
2022-03-04 19:30:36 +01:00
vendorSha256 = "sha256-KgoSJcVUtE4ryJLtQXNCdl51sgO94vyb682OdL5CYw8=";
2020-10-17 17:35:58 +02:00
subPackages = [
"cmd/stripe"
];
meta = with lib; {
2020-10-17 17:35:58 +02:00
homepage = "https://stripe.com/docs/stripe-cli";
description = "A command-line tool for Stripe";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ RaghavSood ];
};
}