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

27 lines
624 B
Nix
Raw Normal View History

2020-10-17 16:35:58 +01:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "stripe-cli";
2020-11-22 12:12:13 +00:00
version = "1.5.5";
2020-10-17 16:35:58 +01:00
src = fetchFromGitHub {
owner = "stripe";
repo = pname;
rev = "v${version}";
2020-11-22 12:12:13 +00:00
sha256 = "0r0szzw3xl9cn5vcqgn6sc4wbk2j17r1rhg14qgix835lzp9wpdv";
2020-10-17 16:35:58 +01:00
};
vendorSha256 = "05cyn9cgmijj6dl075slwm5qc6fj6m5sm414wqm50xz2fjs0400r";
subPackages = [
"cmd/stripe"
];
meta = with stdenv.lib; {
homepage = "https://stripe.com/docs/stripe-cli";
description = "A command-line tool for Stripe";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ RaghavSood ];
};
}