diff --git a/pkgs/tools/admin/stripe-cli/default.nix b/pkgs/tools/admin/stripe-cli/default.nix new file mode 100644 index 000000000000..3ceb0e8509c5 --- /dev/null +++ b/pkgs/tools/admin/stripe-cli/default.nix @@ -0,0 +1,26 @@ +{ stdenv, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "stripe-cli"; + version = "1.5.3"; + + src = fetchFromGitHub { + owner = "stripe"; + repo = pname; + rev = "v${version}"; + sha256 = "0anrn7dkxgbzilh45gyqrp2930bkg3g3diarb50qp0rlim302sgy"; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3a15e49b650b..066a5cf6be24 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2414,6 +2414,8 @@ in string-machine = callPackage ../applications/audio/string-machine { }; + stripe-cli = callPackage ../tools/admin/stripe-cli { }; + bash-supergenpass = callPackage ../tools/security/bash-supergenpass { }; swappy = callPackage ../applications/misc/swappy { gtk = gtk3; };