Merge pull request #83472 from Mic92/propragate-darwin-go

Propragate darwin go
This commit is contained in:
Jörg Thalheim
2020-03-28 06:57:59 +00:00
committed by GitHub
137 changed files with 446 additions and 867 deletions

View File

@@ -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";

View File

@@ -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;

View File

@@ -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";

View File

@@ -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";

View File

@@ -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;

View File

@@ -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;

View File

@@ -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
''];

View File

@@ -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/";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles, Security }:
{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
pname = "chezmoi";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "0gh314d3mspqmz2z3m05bgsp62mrhb48m4mwhfy5h62fs7aqymr8";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlagsArray = [
"-ldflags=-s -w -X github.com/twpayne/chezmoi/cmd.VersionStr=${version}"
];

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "docui";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "1wyx05kk4f41mgvwnvfc9xk7vd3x96cbn5xb5ph7p443f70ydnak";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "TUI Client for Docker";
homepage = "https://github.com/skanehira/docui";

View File

@@ -1,4 +1,4 @@
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "gotify-cli";
@@ -17,9 +17,7 @@ buildGoModule rec {
mv $out/bin/cli $out/bin/gotify
'';
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
meta = with lib; {
license = licenses.mit;
homepage = https://github.com/gotify/cli;
description = "A command line interface for pushing messages to gotify/server.";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "kepubify";
@@ -15,11 +15,9 @@ buildGoModule rec {
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "." "covergen" "seriesmeta" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "EPUB to KEPUB converter";
homepage = "https://pgaskin.net/kepubify";
license = licenses.mit;

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, CoreServices }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mutagen";
@@ -13,11 +13,9 @@ buildGoModule rec {
modSha256 = "1r6b4y6civk75if6nljl66pgv5qm7x05qqby1anf7s7cz7d1rc3g";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
subPackages = [ "cmd/mutagen" "cmd/mutagen-agent" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Make remote development work with your local tools";
homepage = "https://mutagen.io/";
changelog = "https://github.com/mutagen-io/mutagen/releases/tag/v${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pgcenter";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "0kassq52v07zmffs6l066g0d3kfv6wmrh9g5cgk79bmyq13clqjj";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
homepage = https://pgcenter.org/;
description = "Command-line admin tool for observing and troubleshooting PostgreSQL";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pgmetrics";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "0h375zk0ik06g0b5vmi00b1wn5q2c0r137f7qf6l8k8p886x41h6";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with stdenv.lib; {

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "cassowary";
@@ -13,11 +13,9 @@ buildGoModule rec {
modSha256 = "1iylnnmj5slji89pkb3shp4xqar1zbpl7bzwddbzpp8y52fmsv1c";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/rogerwelin/cassowary";
description = "Modern cross-platform HTTP load-testing tool written in Go";
license = licenses.mit;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "clash";
@@ -14,8 +14,6 @@ buildGoModule rec {
goPackagePath = "github.com/Dreamacro/clash";
modSha256 = "02bki2iq99lc9iq1mjf9rbxwspalrj7hjlk1h384w3d4s4x4fyxy";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlagsArray = [
"-ldflags="
"-X ${goPackagePath}/constant.Version=${version}"

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "corerad";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "0vbbpndqwwz1mc59j7liaayxaj53cs8s3javgj3pvhkn4vp65p7c";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlagsArray = ''
-ldflags=
-X github.com/mdlayher/corerad/internal/build.linkTimestamp=1583280117

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "croc";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "0ng4x9zmwax2vskbcadra4pdkgy1p1prmgkg1bjmh3b8rwsrhr0q";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "." ];
meta = with stdenv.lib; {

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "dnsproxy";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "0r5ybr4gpcdsldk12b0d4xiih6ckwnqkfwy89c97prv24v14zysv";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support";
homepage = "https://github.com/AdguardTeam/dnsproxy";

View File

@@ -1,4 +1,4 @@
{ buildGoModule, stdenv, fetchFromGitHub, Security }:
{ buildGoModule, lib, fetchFromGitHub }:
buildGoModule rec {
pname = "frp";
@@ -13,11 +13,9 @@ buildGoModule rec {
modSha256 = "1v90w5grc0vjpcp0m56d73zi0qnbswgz1rcvcwrjfa3rwqhigbal";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "cmd/frpc" "cmd/frps" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Fast reverse proxy";
longDescription = ''
frp is a fast reverse proxy to help you expose a local server behind a

View File

@@ -1,4 +1,4 @@
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "grpcui";
@@ -13,9 +13,7 @@ buildGoModule rec {
modSha256 = "1yq8484cjxad72nqsrim3zppr8hmn7dc6f8rgkw8fg952lqy5jjb";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
meta = with lib; {
description = "An interactive web UI for gRPC, along the lines of postman";
homepage = "https://github.com/fullstorydev/grpcui";
license = licenses.mit;

View File

@@ -1,4 +1,4 @@
{ buildGoModule, stdenv, fetchFromGitHub, Security }:
{ buildGoModule, lib, fetchFromGitHub }:
buildGoModule rec {
pname = "hey";
@@ -13,9 +13,7 @@ buildGoModule rec {
modSha256 = "0a00kcyagqczw0vhl8qs2xs1y8myw080y9kjs4qrcmj6kibdy55q";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
meta = with lib; {
description = "HTTP load generator, ApacheBench (ab) replacement";
homepage = "https://github.com/rakyll/hey";
license = licenses.asl20;

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, CoreServices }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "minio-client";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "1qjfsqmcc6i0nixwvdmm3vnnv19yvqaaza096cpdf5rl35knsp5i";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
subPackages = [ "." ];
preBuild = ''

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "nebula";
@@ -13,13 +13,11 @@ buildGoModule rec {
modSha256 = "1sy5mnwn9fxjf3y41lm8gsggid2c0y08iw88m9ng8psaf4qid8ij";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "cmd/nebula" "cmd/nebula-cert" ];
buildFlagsArray = [ "-ldflags='-X main.Build=${version}'" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A scalable overlay networking tool with a focus on performance, simplicity and security";
longDescription = ''
Nebula is a scalable overlay networking tool with a focus on performance,

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchgit, buildGoModule, Security }:
{ lib, fetchgit, buildGoModule }:
buildGoModule rec {
pname = "obfs4";
@@ -12,9 +12,7 @@ buildGoModule rec {
modSha256 = "150kg22kznrdj5icjxk3qd70g7wpq8zd2zklw1y2fgvrggw8zvyv";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A pluggable transport proxy";
homepage = https://www.torproject.org/projects/obfsproxy;
repositories.git = https://git.torproject.org/pluggable-transports/obfs4.git;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "shadowfox";
@@ -11,9 +11,9 @@ buildGoModule rec {
sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6";
};
modSha256 = "0hcc87mzacqwbw10l49kx0sxl4mivdr88c40wh6hdfvrbam2w86r";
goPackagePath = "github.com/SrKomodo/shadowfox-updater";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
modSha256 = "0hcc87mzacqwbw10l49kx0sxl4mivdr88c40wh6hdfvrbam2w86r";
buildFlags = [ "--tags" "release" ];

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "tendermint";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "1h51zgvjq3bm09yhm54rk8a86cqa1zma3mx6pb0kq7k72xvhpx0a";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Byzantine-Fault Tolerant State Machines. Or Blockchain, for short.";
homepage = https://tendermint.com/;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, buildGoModule, wireshark-cli, Security }:
{ stdenv, fetchFromGitHub, makeWrapper, buildGoModule, wireshark-cli }:
buildGoModule rec {
pname = "termshark";
@@ -12,8 +12,7 @@ buildGoModule rec {
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ wireshark-cli ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildInputs = [ wireshark-cli ];
modSha256 = "0lp4gky76di7as78421p3lsirfr7mic3z204ildvj6gf6d15svpr";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Foundation }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "yggdrasil";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "057yl3i29kwpd129aa2rb67s5rmz898fi2a7lxv3nfjp7018s9qw";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Foundation ];
# Change the default location of the management socket on Linux
# systems so that the yggdrasil system service unit does not have to
# be granted write permission to /run.
@@ -29,7 +27,7 @@ buildGoModule rec {
-s -w
'';
meta = with stdenv.lib; {
meta = with lib; {
description =
"An experiment in scalable routing as an encrypted IPv6 overlay network";
homepage = "https://yggdrasil-network.github.io/";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, fetchpatch, Security }:
{ stdenv, buildGoModule, fetchFromGitHub, fetchpatch }:
buildGoModule rec {
pname = "mynewt-newt";
@@ -24,8 +24,6 @@ buildGoModule rec {
modSha256 = "068r8wa2pgd68jv50x0l1w8n96f97b3mgv7z6f85280ahgywaasq";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
homepage = https://mynewt.apache.org/;
description = "Build and package management tool for embedded development.";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "age";
@@ -18,9 +18,7 @@ buildGoModule rec {
sha256 = "1n1ww8yjw0mg00dvnfmggww9kwp1hls0a85iv6vx9k89mzv8mdrq";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://age-encryption.org/";
description = "Modern encryption tool with small explicit keys";
license = licenses.bsd3;

View File

@@ -1,7 +1,6 @@
{ buildGoModule
, fetchFromGitHub
, stdenv
, Security
, lib
}:
buildGoModule rec {
@@ -17,9 +16,7 @@ buildGoModule rec {
modSha256 = "0jq0z5s05vqdvq7v1gdjwlqqwbl1j2rv9f16k52idl50vdiqviql";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers";
homepage = "https://github.com/OJ/gobuster";
license = licenses.asl20;

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, libobjc, Foundation, IOKit }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "saml2aws";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "0qxf2i06spjig3ynixh3xmbxpghh222jhfqcg71i4i79x4ycp5wx";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libobjc Foundation IOKit ];
subPackages = [ "." "cmd/saml2aws" ];
buildFlagsArray = ''

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, CoreServices }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "sops";
@@ -13,8 +13,6 @@ buildGoModule rec {
modSha256 = "0vhxd3dschj5i9sig6vpxzbl59cas1qa843akzmjnfjrrafb916y";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
meta = with stdenv.lib; {
homepage = "https://github.com/mozilla/sops";
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ctop";
@@ -13,11 +13,9 @@ buildGoModule rec {
modSha256 = "0wxv6yzlgki7047qszx9p9xpph95bg097jkgaa0b3wbpx8vg7qml";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.build=v${version}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Top-like interface for container metrics";
homepage = "https://ctop.sh/";
license = licenses.mit;