Merge branch 'master' into staging-next
This commit is contained in:
31
pkgs/tools/networking/bacnet-stack/default.nix
Normal file
31
pkgs/tools/networking/bacnet-stack/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bacnet-stack";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bacnet-stack";
|
||||
repo = "bacnet-stack";
|
||||
rev = "bacnet-stack-${version}";
|
||||
sha256 = "078p7qsy9v6fl7pzwgcr72pgjqxfxmfxyqajih2zqlb5g5sf88vh";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
|
||||
buildPhase = ''
|
||||
make BUILD=debug BACNET_PORT=linux BACDL_DEFINE=-DBACDL_BIP=1 BACNET_DEFINES=" -DPRINT_ENABLED=1 -DBACFILE -DBACAPP_ALL -DBACNET_PROPERTY_LISTS"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r bin $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "BACnet open source protocol stack for embedded systems, Linux, and Windows";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ WhittlesJr ];
|
||||
};
|
||||
}
|
||||
@@ -39,7 +39,7 @@ in rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Bukubrow is a WebExtension for Buku, a command-line bookmark manager";
|
||||
description = "A WebExtension for Buku, a command-line bookmark manager";
|
||||
homepage = "https://github.com/SamHH/bukubrow-host";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ infinisil ];
|
||||
|
||||
@@ -33,7 +33,7 @@ buildGoModule rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/mdlayher/corerad";
|
||||
description = "CoreRAD extensible and observable IPv6 NDP RA daemon";
|
||||
description = "Extensible and observable IPv6 NDP RA daemon";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ mdlayher ];
|
||||
};
|
||||
|
||||
@@ -1,22 +1,27 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, callPackage}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "croc";
|
||||
version = "8.5.2";
|
||||
version = "8.6.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "schollz";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0i71p3cwm8w3zlw10if3cbpfb65rq407nw4yva1l58ck7sbp61ha";
|
||||
sha256 = "1lzprv4qbmv2jjjp02z87819k54wdlsf8i6zvl3vchkqvygdkk6v";
|
||||
};
|
||||
|
||||
vendorSha256 = "0afg645hs7lf3036c2g6sn956zz9s08r747c0czb1aj0jrbf7fs8";
|
||||
vendorSha256 = "02mai9bp9pizbq6b8dj05rngxp3lfm9gh37zs8jknx56gas90j9i";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
local-relay = callPackage ./test-local-relay.nix {};
|
||||
};
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
description =
|
||||
"Easily and securely send things from one computer to another";
|
||||
|
||||
20
pkgs/tools/networking/croc/test-local-relay.nix
Normal file
20
pkgs/tools/networking/croc/test-local-relay.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, croc }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "croc-test-local-relay";
|
||||
meta.timeout = 300;
|
||||
buildCommand = ''
|
||||
HOME=$(mktemp -d)
|
||||
# start a local relay
|
||||
${croc}/bin/croc relay --ports 11111,11112 &
|
||||
# start sender in background
|
||||
MSG="See you later, alligator!"
|
||||
${croc}/bin/croc --relay localhost:11111 send --code correct-horse-battery-staple --text "$MSG" &
|
||||
# wait for things to settle
|
||||
sleep 1
|
||||
# receive
|
||||
MSG2=$(${croc}/bin/croc --relay localhost:11111 --yes correct-horse-battery-staple)
|
||||
# compare
|
||||
[ "$MSG" = "$MSG2" ] && touch $out
|
||||
'';
|
||||
}
|
||||
@@ -16,7 +16,7 @@ buildGoModule rec {
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Curlie is a frontend to curl that adds the ease of use of httpie, without compromising on features and performance";
|
||||
description = "Frontend to curl that adds the ease of use of httpie, without compromising on features and performance";
|
||||
homepage = "https://curlie.io/";
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lresolv";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Dnstracer determines where a given Domain Name Server (DNS) gets its information from, and follows the chain of DNS servers back to the servers which know the data";
|
||||
description = "Determines where a given Domain Name Server (DNS) gets its information from, and follows the chain of DNS servers back to the servers which know the data";
|
||||
homepage = "http://www.mavetju.org/unix/general.php";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ andir ];
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Driftnet watches network traffic, and picks out and displays JPEG and GIF images for display";
|
||||
description = "Watches network traffic, and picks out and displays JPEG and GIF images for display";
|
||||
homepage = "https://github.com/deiv/driftnet";
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -19,7 +19,7 @@ buildGoPackage rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/buger/goreplay";
|
||||
license = stdenv.lib.licenses.lgpl3Only;
|
||||
description = "GoReplay is an open-source tool for capturing and replaying live HTTP traffic";
|
||||
description = "Open-source tool for capturing and replaying live HTTP traffic";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
|
||||
};
|
||||
|
||||
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = ''MaxScale database proxy extends MariaDB Server's high availability'';
|
||||
description = "MaxScale database proxy extends MariaDB Server's high availability";
|
||||
homepage = "https://mariadb.com/products/technology/maxscale";
|
||||
license = licenses.bsl11;
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -2,18 +2,18 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "MozWire";
|
||||
version = "0.5.2";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NilsIrl";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0r3x8y1qxxkkac9lqgd0s339zbrm9zmir1f6qs0r5f0bw3ngzqc4";
|
||||
sha256 = "01bj3c34x9ywxygsz4rdyw5gc9cz8x6zzl5fd7db8qy8bx2lhlr9";
|
||||
};
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
cargoSha256 = "0hyps2wi4wmpllfams3p59jpccwa0ylgzxq7qdn6g6zvf0cajpc0";
|
||||
cargoSha256 = "0yxnpnxwis46wz4j5rjzyyzrvh94hn8vzxmmrcmrdz3gkakg77hg";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "MozillaVPN configuration manager giving Linux, macOS users (among others), access to MozillaVPN";
|
||||
|
||||
@@ -35,10 +35,7 @@ stdenv.mkDerivation {
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = {
|
||||
description = "ngrok";
|
||||
longDescription = ''
|
||||
Allows you to expose a web server running on your local machine to the internet.
|
||||
'';
|
||||
description = "Allows you to expose a web server running on your local machine to the internet";
|
||||
homepage = "https://ngrok.com/";
|
||||
license = licenses.unfree;
|
||||
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
|
||||
|
||||
29
pkgs/tools/networking/nxdomain/default.nix
Normal file
29
pkgs/tools/networking/nxdomain/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonApplication, fetchPypi, dnspython, pytestCheckHook }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "nxdomain";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1z9iffggqq2kw6kpnj30shi98cg0bkvkwpglmhnkgwac6g55n2zn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dnspython ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
postCheck = ''
|
||||
echo example.org > simple.list
|
||||
python -m nxdomain --format dnsmasq --out dnsmasq.conf --simple ./simple.list
|
||||
grep -q 'address=/example.org/' dnsmasq.conf
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/zopieux/nxdomain";
|
||||
description = "A domain (ad) block list creator";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ zopieux ];
|
||||
};
|
||||
}
|
||||
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
||||
++ optional withMysql "--enable-mysql";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "pmacct is a small set of multi-purpose passive network monitoring tools";
|
||||
description = "A small set of multi-purpose passive network monitoring tools";
|
||||
longDescription = ''
|
||||
pmacct is a small set of multi-purpose passive network monitoring tools
|
||||
[NetFlow IPFIX sFlow libpcap BGP BMP RPKI IGP Streaming Telemetry]
|
||||
|
||||
30
pkgs/tools/networking/rcon/default.nix
Normal file
30
pkgs/tools/networking/rcon/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkg-config, glib, libbsd, check, pcre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rcon";
|
||||
version = "0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "n0la";
|
||||
repo = "rcon";
|
||||
rev = version;
|
||||
sha256 = "1jsnmsm2qkiv8dan1yncx0qp6zfkcbyvf81c7xwpv6r499ijw1nb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
libbsd
|
||||
check
|
||||
pcre
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/n0la/rcon";
|
||||
description = "Source RCON client for command line";
|
||||
maintainers = with maintainers; [ f4814n ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
|
||||
"--with-openssl-lib=${openssl}/lib"
|
||||
"--with-openssl-inc=${openssl}/include" ];
|
||||
meta = {
|
||||
description = "ssldump is an SSLv3/TLS network protocol analyzer";
|
||||
description = "An SSLv3/TLS network protocol analyzer";
|
||||
homepage = "http://ssldump.sourceforge.net";
|
||||
license = "BSD-style";
|
||||
maintainers = with stdenv.lib.maintainers; [ aycanirican ];
|
||||
|
||||
Reference in New Issue
Block a user