depot/third_party/nixpkgs/pkgs/tools/admin/stripe-cli/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
614 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "stripe-cli";
version = "1.5.5";
src = fetchFromGitHub {
owner = "stripe";
repo = pname;
rev = "v${version}";
sha256 = "0r0szzw3xl9cn5vcqgn6sc4wbk2j17r1rhg14qgix835lzp9wpdv";
};
vendorSha256 = "05cyn9cgmijj6dl075slwm5qc6fj6m5sm414wqm50xz2fjs0400r";
subPackages = [
"cmd/stripe"
];
meta = with lib; {
homepage = "https://stripe.com/docs/stripe-cli";
description = "A command-line tool for Stripe";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ RaghavSood ];
};
}