Merge pull request #83472 from Mic92/propragate-darwin-go
Propragate darwin go
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ buildGoModule, stdenv, fetchFromGitHub, Security }:
|
||||
{ buildGoModule, lib, fetchFromGitHub }:
|
||||
buildGoModule rec {
|
||||
pname = "aws-vault";
|
||||
version = "5.3.2";
|
||||
@@ -13,15 +13,13 @@ buildGoModule rec {
|
||||
modSha256 = "1d3hjfmfmlpw2scfyn597zkzz864w97p0wrsxjp49m9mi0pgmhq9";
|
||||
subPackages = [ "." ];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
# set the version. see: aws-vault's Makefile
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X main.Version=v${version}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description =
|
||||
"A vault for securely storing and accessing AWS credentials in development environments";
|
||||
homepage = "https://github.com/99designs/aws-vault";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "awsweeper";
|
||||
@@ -13,9 +13,7 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "14yvf0svh7xqpc2y7xr94pc6r7d3iv2nsr8qs3f5q29hdc5hv3fs";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A tool to clean out your AWS account";
|
||||
homepage = "https://github.com/cloudetc/awsweeper/";
|
||||
license = licenses.mpl20;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "berglas";
|
||||
@@ -13,8 +13,6 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0m2bqx102lf6nihdjbl8a08xcwi80rawvh91j1cav0njm9w5vmmm";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool for managing secrets on Google Cloud";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/berglas";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "certigo";
|
||||
@@ -13,8 +13,6 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "1i5n5yh6nvv2i2nm60vqy1gngj8p5w6ma5fcwmp7bl4jxjrzbi83";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A utility to examine and validate certificates in a variety of formats";
|
||||
homepage = "https://github.com/square/certigo";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, makeWrapper, rpm, xz, Security }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, rpm, xz }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "clair";
|
||||
@@ -13,16 +13,14 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0rgkrid58kji39nlmiii95r8shbzr6dwalj5m7qwxy5w1rcaljr5";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/clair \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ rpm xz ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ rpm xz ]}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Vulnerability Static Analysis for Containers";
|
||||
homepage = "https://github.com/quay/clair";
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "eksctl";
|
||||
@@ -13,8 +13,6 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0f8dlcp3q84fa5dnnzx4347ngb1raw1mxkcqpz2s3zq6d1kv0nvf";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
subPackages = [ "cmd/eksctl" ];
|
||||
|
||||
buildFlags = [ "-tags netgo" "-tags release" ];
|
||||
@@ -27,7 +25,7 @@ buildGoModule rec {
|
||||
$out/bin/eksctl completion zsh > "$out/share/zsh/site-functions/_eksctl"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A CLI for Amazon EKS";
|
||||
homepage = "https://github.com/weaveworks/eksctl";
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "iamy";
|
||||
version = "2.3.2";
|
||||
|
||||
goPackagePath = "github.com/99designs/iamy";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "99designs";
|
||||
repo = "iamy";
|
||||
@@ -13,8 +15,6 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0akak573zvz3xg5d7vf0ch2mrmj1jkzcdc29v3kn43f7944c2wcl";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = [''-ldflags=
|
||||
-X main.Version=v${version} -s -w
|
||||
''];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
||||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lego";
|
||||
@@ -14,13 +14,11 @@ buildGoModule rec {
|
||||
modSha256 = "10n8pcbmzlnk63gzsjb1xnmjwxfhxsqx8ffpcbwdzq9fc5yvjiii";
|
||||
subPackages = [ "cmd/lego" ];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = [
|
||||
"-ldflags=-X main.version=${version}"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Let's Encrypt client and ACME library written in Go";
|
||||
license = licenses.mit;
|
||||
homepage = "https://go-acme.github.io/lego/";
|
||||
|
||||
Reference in New Issue
Block a user