Merge staging-next into staging
This commit is contained in:
@@ -5,16 +5,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "amass";
|
||||
version = "3.4.2";
|
||||
version = "3.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OWASP";
|
||||
repo = "Amass";
|
||||
rev = "v${version}";
|
||||
sha256 = "0mia01cqmaa17696m73qazpbyrcng7wldca79g46xgc4z96q1i7i";
|
||||
sha256 = "1qr9cd22m6w5r32bsvg08bmvyvzz7agaklrghf8n1d23ijj1563p";
|
||||
};
|
||||
|
||||
modSha256 = "1zwm7skdhql6isffyhixqsgvcgxw2436iv8bj92cxs70ipk537v9";
|
||||
modSha256 = "00pd0xi0m3w4xqdqq7ldqcpirq9plln45nhpjrsp5r9bz7yc5wn9";
|
||||
|
||||
outputs = [ "out" "wordlists" ];
|
||||
|
||||
|
||||
@@ -11,10 +11,7 @@ rustPlatform.buildRustPackage rec {
|
||||
sha256 = "1mijy51hd8c4as9g4ivpfxismc9m5m3nhibfvclh3wrlcmp1ha9c";
|
||||
};
|
||||
|
||||
# Delete this on next update; see #79975 for details
|
||||
legacyCargoFetcher = true;
|
||||
|
||||
cargoSha256 = "1gvmshwg9b486933vfgkg2r8nn6w6dyz42hqjy74p785fcg0v5hs";
|
||||
cargoSha256 = "1kbbkbrfjff4yicwanydmcjr2av6s6wrsgafpvbh255vvkd7mr6x";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
|
||||
|
||||
@@ -1,21 +1,23 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, writeText, runtimeShell, ncurses, }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "cassowary";
|
||||
version = "0.3.0";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rogerwelin";
|
||||
repo = pname;
|
||||
rev = "33b7e81a5d147980f4ddc689818df2b071f6ab4e";
|
||||
sha256 = "01cdmh2v9rz8rna08hdsddllck6zp9wcrhxdy6hs77zfsbzyfflx";
|
||||
rev = "v${version}";
|
||||
sha256 = "0p5vcs25h5nj36dm9yjmdjymcq0zldm3zlqfppxcjx862h48k8zj";
|
||||
};
|
||||
|
||||
modSha256 = "1iylnnmj5slji89pkb3shp4xqar1zbpl7bzwddbzpp8y52fmsv1c";
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rogerwelin/cassowary";
|
||||
description = "Modern cross-platform HTTP load-testing tool written in Go ";
|
||||
description = "Modern cross-platform HTTP load-testing tool written in Go";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hugoreeves ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eternal-terminal";
|
||||
version = "6.0.5";
|
||||
version = "6.0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MisterTea";
|
||||
repo = "EternalTerminal";
|
||||
rev = "et-v${version}";
|
||||
sha256 = "04jn0189vq5lc795izkxq1zdv9fnpxz2xchg2mm37armpz7n06id";
|
||||
sha256 = "0vhhiccyvp9pjdmmscwdwcynxfwd2kgv418z90blnir0yfkvsryq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
22
pkgs/tools/networking/hey/default.nix
Normal file
22
pkgs/tools/networking/hey/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ buildGoModule, lib, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "hey";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rakyll";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "06w5hf0np0ayvjnfy8zgy605yrs5j326nk2gm0fy7amhwx1fzkwv";
|
||||
};
|
||||
|
||||
modSha256 = "0a00kcyagqczw0vhl8qs2xs1y8myw080y9kjs4qrcmj6kibdy55q";
|
||||
|
||||
meta = with lib; {
|
||||
description = "HTTP load generator, ApacheBench (ab) replacement";
|
||||
homepage = "https://github.com/rakyll/hey";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ filalex77 ];
|
||||
};
|
||||
}
|
||||
@@ -9,13 +9,13 @@ assert upnpSupport -> miniupnpc != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "i2pd";
|
||||
version = "2.29.0";
|
||||
version = "2.30.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PurpleI2P";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1issg3aidwikk4g12sa8q81zzp0hd0g8wdy2dx4899z8yrscl300";
|
||||
sha256 = "nGl7c5UY9kJPRaMveMF+aIf8T11WFrB//37oKzREdvM=";
|
||||
};
|
||||
|
||||
buildInputs = with stdenv.lib; [ boost zlib openssl ]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
let
|
||||
optional = stdenv.lib.optional;
|
||||
version = "3.29";
|
||||
version = "3.30";
|
||||
name = "libreswan-${version}";
|
||||
binPath = stdenv.lib.makeBinPath [
|
||||
bash iproute iptables procps coreutils gnused gawk nss.tools which python
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.libreswan.org/${name}.tar.gz";
|
||||
sha256 = "0gmbb1m5in5dvnbk1n31r8myrdankzvi6yk9gcqbcwijyih423nn";
|
||||
sha256 = "1bww4w5r6hx0xf9xdxvkfmcv7zyas58ls1mklk6k197kv2i0p24w";
|
||||
};
|
||||
|
||||
# These flags were added to compile v3.18. Try to lift them when updating.
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
{ stdenv, fetchurl, jre, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "netalyzr";
|
||||
version = "57861";
|
||||
|
||||
# unfortunately there is not a version specific download URL
|
||||
src = fetchurl {
|
||||
url = "http://netalyzr.icsi.berkeley.edu/NetalyzrCLI.jar";
|
||||
sha256 = "0fa3gvgp05p1nf1d711052wgvnp0xnvhj2h2bwk1mh1ih8qn50xb";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,share/netalyzr}
|
||||
install -m644 $src $out/share/netalyzr/NetalyzrCLI.jar
|
||||
makeWrapper ${stdenv.lib.getBin jre}/bin/java $out/bin/netalyzr \
|
||||
--add-flags "-jar $out/share/netalyzr/NetalyzrCLI.jar"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Network debugging and analysis tool";
|
||||
homepage = http://netalyzr.icsi.berkeley.edu;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
28
pkgs/tools/networking/netifd/default.nix
Normal file
28
pkgs/tools/networking/netifd/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ runCommand, stdenv, cmake, fetchgit, libnl, libubox, uci, ubus, json_c }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "netifd";
|
||||
version = "unstable-2020-01-18";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.openwrt.org/project/netifd.git";
|
||||
rev = "1321c1bd8fe921986c4eb39c3783ddd827b79543";
|
||||
sha256 = "178pckyf1cydi6zzr4bmhksv8vyaks91zv9lqqd2z5nkmccl6vf3";
|
||||
};
|
||||
|
||||
buildInputs = [ libnl libubox uci ubus json_c ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
preBuild = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE \
|
||||
-I$(echo "${stdenv.lib.getDev libnl}"/include/libnl*/)"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "OpenWrt Network interface configuration daemon";
|
||||
homepage = "https://git.openwrt.org/?p=project/netifd.git;a=summary";
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ petabyteboy ];
|
||||
};
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
, autoconf, automake, libtool, pkg-config
|
||||
, bzip2, libpcap, flex, yacc }:
|
||||
|
||||
let version = "1.6.18"; in
|
||||
let version = "1.6.19"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "nfdump";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
owner = "phaag";
|
||||
repo = "nfdump";
|
||||
rev = "v${version}";
|
||||
sha256 = "0hfgj9lghkjrjxww0jdk8gxr6g4gbmbdmfg9ddg5jj6gcra21gha";
|
||||
sha256 = "0idhg7pdkv602h0d0dz7msk8gsxz32ingn16dkqbxp4mgfiakp9r";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake flex libtool pkg-config yacc ];
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
||||
longDescription = ''
|
||||
nfdump is a set of tools for working with netflow data.
|
||||
'';
|
||||
homepage = https://github.com/phaag/nfdump;
|
||||
homepage = "https://github.com/phaag/nfdump";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.takikawa ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, openssl, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "siege-4.0.4";
|
||||
name = "siege-4.0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.joedog.org/siege/${name}.tar.gz";
|
||||
sha256 = "0vzaj5nzb0fir2a4l7ghv3wa5d1nk2ss8gmwjb6bjavjplccyzcg";
|
||||
sha256 = "0c82h0idkvfbzspy7h6w97wyk671694nl1ir94zhzn54mw0p0jrv";
|
||||
};
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
@@ -2,19 +2,19 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "termshark";
|
||||
version = "1.0.0";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gcla";
|
||||
repo = "termshark";
|
||||
rev = "v${version}";
|
||||
sha256 = "1h9wysvd7i4vzn9qyswrmckmshxmh24ypvca98balkyhsxjwlb6j";
|
||||
sha256 = "14h548apg3zvjvq6yy22hpw2ziy5vmwyr04vv59ls1mjg4qf2v8b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ wireshark-cli ];
|
||||
|
||||
modSha256 = "09mbjbk5wa18z4xis5b2v2v0b04mf4d896yp88vcj8d8hsmbmc6g";
|
||||
modSha256 = "0lp4gky76di7as78421p3lsirfr7mic3z204ildvj6gf6d15svpr";
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/termshark --prefix PATH : ${stdenv.lib.makeBinPath [ wireshark-cli ]}
|
||||
@@ -28,8 +28,7 @@ buildGoModule rec {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://termshark.io/;
|
||||
description = "A terminal UI for wireshark-cli, inspired by Wireshark";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.winpat ];
|
||||
maintainers = with maintainers; [ winpat elseym ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
{ stdenv, lib, fetchgit, cmake, perl, libubox, json_c }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "uqmi-2016-12-19";
|
||||
pname = "uqmi";
|
||||
version = "unstable-2019-06-27";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.openwrt.org/project/uqmi.git";
|
||||
rev = "8ceeab690d8c6f1e3afbd4bcaee7bc2ba3fbe165";
|
||||
sha256 = "1fw9r36d024iiq6bq2cikaq5pams5pnbc4z6pcmcny2k4l5cdb6m";
|
||||
rev = "1965c713937495a5cb029165c16acdb6572c3f87";
|
||||
sha256 = "1gn8sdcl4lwfs3lwabmnjbvdhhk1l42bwbajwds7j4936fpbklx0";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -8,12 +8,19 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "14xga0ib6p1wrv3hkl4sa89yzjxv7f1vfqaxsch87j6scdm59pr2";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl (
|
||||
fetchpatch {
|
||||
patches = [
|
||||
# Fix build with openssl 1.1.0
|
||||
(fetchpatch {
|
||||
name = "vde_cryptcab-compile-against-openssl-1.1.0.patch";
|
||||
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/vde_cryptcab-compile-against-openssl-1.1.0.patch?h=packages/vde2&id=15b11be49997fa94b603e366064690b7cc6bce61";
|
||||
sha256 = "07z1yabwigq35mkwzqa934n7vjnjlqz5xfzq8cfj87lgyjjp00qi";
|
||||
})
|
||||
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl [
|
||||
(fetchpatch {
|
||||
url = "https://git.alpinelinux.org/cgit/aports/plain/main/vde2/musl-build-fix.patch?id=ddee2f86a48e087867d4a2c12849b2e3baccc238";
|
||||
sha256 = "0b5382v541bkxhqylilcy34bh83ag96g71f39m070jzvi84kx8af";
|
||||
}
|
||||
);
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = stdenv.lib.optional (!withPython) "--disable-python";
|
||||
|
||||
@@ -23,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://vde.sourceforge.net/;
|
||||
homepage = "https://github.com/virtualsquare/vde-2";
|
||||
description = "Virtual Distributed Ethernet, an Ethernet compliant virtual network";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchFromGitHub, perl, gettext, pkgconfig, libidn2, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.5.5";
|
||||
version = "5.5.6";
|
||||
pname = "whois";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rfc1036";
|
||||
repo = "whois";
|
||||
rev = "v${version}";
|
||||
sha256 = "01gni315lnkyrwd173fqw0c12qrisfb38wy066s2j85nq64a3nqv";
|
||||
sha256 = "0iqbn2ky9j7qdpv5hycy56knnfhl8nz4l4905rnr0p703lvxxx8d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl gettext pkgconfig ];
|
||||
|
||||
Reference in New Issue
Block a user