mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
auth0-cli: init at 0.11.10 (#189335)
Co-authored-by: Nikolay Korotkiy <sikmir@disroot.org> Co-authored-by: Azat Bahawi <azat+github@bahawi.net> Co-authored-by: 06kellyjac <dev@j-k.io>
This commit is contained in:
parent
dfbbb5af7a
commit
ef16c5189b
37
pkgs/tools/admin/auth0-cli/default.nix
Normal file
37
pkgs/tools/admin/auth0-cli/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "auth0-cli";
|
||||
version = "0.11.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "auth0";
|
||||
repo = "auth0-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1/T2hpSNamorWFuaSBoLsGpe9I06HGew9S3yJsDLmLQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-d9ZwK/LAZGgeagGsg3bGYnVykfQcCLUex0pe/PUCtkA=";
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
"-X github.com/auth0/auth0-cli/internal/buildinfo.Version=v${version}"
|
||||
"-X github.com/auth0/auth0-cli/internal/buildinfo.Revision=0000000"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# Feed in all tests for testing
|
||||
# This is because subPackages above limits what is built to just what we
|
||||
# want but also limits the tests
|
||||
unset subPackages
|
||||
'';
|
||||
|
||||
subPackages = [ "cmd/auth0" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Supercharge your developer workflow";
|
||||
homepage = "https://auth0.github.io/auth0-cli";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ matthewcroughan ];
|
||||
};
|
||||
}
|
@ -274,6 +274,8 @@ with pkgs;
|
||||
|
||||
authz0 = callPackage ../tools/security/authz0 { };
|
||||
|
||||
auth0-cli = callPackage ../tools/admin/auth0-cli { };
|
||||
|
||||
atomic-operator = callPackage ../tools/security/atomic-operator { };
|
||||
|
||||
avro-tools = callPackage ../development/tools/avro-tools { };
|
||||
|
Loading…
Reference in New Issue
Block a user