Merge branch 'master' into staging-next
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "assh";
|
||||
version = "2.11.0";
|
||||
version = "2.11.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "advanced-ssh-config";
|
||||
owner = "moul";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/StB5yee9sbkebuJt6JDI+bp52NG0bBhprzmdepL+ek=";
|
||||
sha256 = "sha256-NH7Dmqsu7uRhKWGFHBnh5GGqsNFOijDxsc+ATt28jtY=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-6OAsO7zWAgPfQWD9k+nYH7hnDDUlKIjTB61ivvoubn0=";
|
||||
|
||||
@@ -19,10 +19,9 @@ let
|
||||
requests
|
||||
websocket_client
|
||||
ipaddress
|
||||
backports_ssl_match_hostname
|
||||
docker_pycreds
|
||||
uptime
|
||||
];
|
||||
] ++ lib.optionals (self.pythonOlder "3.7") [ backports_ssl_match_hostname ];
|
||||
|
||||
# due to flake8
|
||||
doCheck = false;
|
||||
|
||||
@@ -3,20 +3,17 @@
|
||||
, pkg-config
|
||||
, makeWrapper
|
||||
, runtimeShell
|
||||
, iproute ? null
|
||||
, iproute
|
||||
, lzo
|
||||
, openssl
|
||||
, pam
|
||||
, useSystemd ? stdenv.isLinux
|
||||
, systemd ? null
|
||||
, util-linux ? null
|
||||
, systemd
|
||||
, util-linux
|
||||
, pkcs11Support ? false
|
||||
, pkcs11helper ? null
|
||||
, pkcs11helper
|
||||
}:
|
||||
|
||||
assert useSystemd -> (systemd != null);
|
||||
assert pkcs11Support -> (pkcs11helper != null);
|
||||
|
||||
with lib;
|
||||
let
|
||||
# Check if the script needs to have other binaries wrapped when changing this.
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchzip
|
||||
, nixosTests
|
||||
, iptables ? null
|
||||
, iproute ? null
|
||||
, makeWrapper ? null
|
||||
, openresolv ? null
|
||||
, procps ? null
|
||||
, wireguard-go ? null
|
||||
, iptables
|
||||
, iproute
|
||||
, makeWrapper
|
||||
, openresolv
|
||||
, procps
|
||||
, wireguard-go
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wireguard-tools";
|
||||
version = "1.0.20210315";
|
||||
@@ -37,11 +36,11 @@ stdenv.mkDerivation rec {
|
||||
postFixup = ''
|
||||
substituteInPlace $out/lib/systemd/system/wg-quick@.service \
|
||||
--replace /usr/bin $out/bin
|
||||
'' + optionalString stdenv.isLinux ''
|
||||
'' + lib.optionalString stdenv.isLinux ''
|
||||
for f in $out/bin/*; do
|
||||
wrapProgram $f --prefix PATH : ${makeBinPath [procps iproute iptables openresolv]}
|
||||
wrapProgram $f --prefix PATH : ${lib.makeBinPath [ procps iproute iptables openresolv ]}
|
||||
done
|
||||
'' + optionalString stdenv.isDarwin ''
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
for f in $out/bin/*; do
|
||||
wrapProgram $f --prefix PATH : ${wireguard-go}/bin
|
||||
done
|
||||
@@ -52,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
tests = nixosTests.wireguard;
|
||||
};
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Tools for the WireGuard secure network tunnel";
|
||||
downloadPage = "https://git.zx2c4.com/wireguard-tools/refs/";
|
||||
homepage = "https://www.wireguard.com/";
|
||||
|
||||
Reference in New Issue
Block a user