Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-05-07 18:24:29 +00:00
committed by GitHub
70 changed files with 870 additions and 592 deletions

View File

@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "fioctl";
version = "0.15";
version = "0.16";
src = fetchFromGitHub {
owner = "foundriesio";
repo = "fioctl";
rev = "v${version}";
sha256 = "0gmh32h9j6wpkdxxg7vj158lsaxq30x7hjsc9gwpip3bff278hw4";
sha256 = "1mm62piih7x2886wpgqd8ks22vpmrjgxs4alskiqz61bgshks9vw";
};
vendorSha256 = "170z5a1iwwcpz890nficqnz7rr7yzdxr5jx9pa7s31z17lr8kbz9";

View File

@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "trivy";
version = "0.17.1";
version = "0.17.2";
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
rev = "v${version}";
sha256 = "sha256-5TOKYxH1Tnsd1t2yoUflFUSW0QGS9l5+0JtS2Fo6vL0=";
sha256 = "sha256-Ub3rIiOJUh3vNCC+82rCSzKSovMnRW2jo8HbI02ouws=";
};
vendorSha256 = "sha256-zVe1bTTLOHxfdbb6VcztOCWMbCbzT6igNpvPytktMWs=";
vendorSha256 = "sha256-xL0wqKFMQksaLkTAxV72SWh0PPTbOqWcd6deJ9RVeEA=";
excludedPackages = "misc";
@@ -19,6 +19,14 @@ buildGoModule rec {
buildFlagsArray+=("-ldflags" "-s -w -X main.version=v${version}")
'';
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/trivy --help
$out/bin/trivy --version | grep "v${version}"
runHook postInstallCheck
'';
meta = with lib; {
homepage = "https://github.com/aquasecurity/trivy";
changelog = "https://github.com/aquasecurity/trivy/releases/tag/v${version}";

View File

@@ -3,6 +3,8 @@
, removeReferencesTo
, zlib ? null
, enableShared ? !stdenv.hostPlatform.isStatic
, javaSupport ? false
, jdk
}:
let inherit (lib) optional optionals; in
@@ -17,11 +19,15 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
buildInputs = optional javaSupport jdk;
nativeBuildInputs = [ removeReferencesTo ];
propagatedBuildInputs = optional (zlib != null) zlib;
configureFlags = optional enableShared "--enable-shared";
configureFlags = []
++ optional enableShared "--enable-shared"
++ optional javaSupport "--enable-java";
patches = [
./bin-mv.patch

View File

@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "boundary";
version = "0.2.0";
version = "0.2.1";
src =
let
@@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
};
in
fetchsrc version {
x86_64-linux = "sha256-4h1Lx+Et1AfX75Cn0YUhV4MkEtzP6ICqAHVKex3PBpg=";
aarch64-linux = "sha256-i7gzv8GdDgikPT1tMia4xltEYiIZ/VNRbAiGF2o8oKA=";
x86_64-darwin = "sha256-tleIY1loPE61n59Qc9CJeropRUvTBbcIA8xmB1SaMt8=";
x86_64-linux = "sha256-DDrsgZlnDF+WlBKyDi1McqcXEe5mAxoq5WW60p5qFQ8=";
aarch64-linux = "sha256-z9puhWmWf6G2C9PItKD4KL742UjVyVE/TDIu0gpOKd4=";
x86_64-darwin = "sha256-hDZPKi5R0seLbkHe7V4Vm+FarI6HrSZJF9JBJBa9O2Y=";
};
dontConfigure = true;

View File

@@ -22,14 +22,14 @@
buildPythonApplication rec {
pname = "expliot";
version = "0.9.7";
version = "0.9.8";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
owner = "expliot_framework";
repo = pname;
rev = version;
sha256 = "sha256-k43PvH9BXcvxe7O5iCGzLuxv/WkB9YelH/d/1S7BpU0=";
sha256 = "sha256-7Cuj3YKKwDxP2KKueJR9ZO5Bduv+lw0Y87Rw4b0jbGY=";
};
propagatedBuildInputs = [