depot/third_party/nixpkgs/pkgs/tools/admin/stripe-cli/default.nix
Default email 73a29e0b97 Project import generated by Copybara.
GitOrigin-RevId: 5bb20f9dc70e9ee16e21cc404b6508654931ce41
2022-01-27 10:19:43 +10:00

26 lines
613 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "stripe-cli";
version = "1.7.10";
src = fetchFromGitHub {
owner = "stripe";
repo = pname;
rev = "v${version}";
sha256 = "sha256-F1+goZURc0f1dWV/PGxSVtqHkuePACq4+UzfMTEVJ0M=";
};
vendorSha256 = "sha256-Duu6lP87KKLC1eGIebycBSIPw7FN6BBxPexize9+jPE=";
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 ];
};
}