Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2022-02-11 18:01:48 +00:00 committed by GitHub
commit dafecf1c6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 395 additions and 285 deletions

View file

@ -760,7 +760,6 @@
./services/networking/go-neb.nix
./services/networking/go-shadowsocks2.nix
./services/networking/gobgpd.nix
./services/networking/gogoclient.nix
./services/networking/gvpe.nix
./services/networking/hans.nix
./services/networking/haproxy.nix

View file

@ -90,6 +90,8 @@ with lib;
(mkRemovedOptionModule [ "services" "shellinabox" ] "The corresponding package was removed from nixpkgs.")
(mkRemovedOptionModule [ "services" "gogoclient" ] "The corresponding package was removed from nixpkgs.")
# Do NOT add any option renames here, see top of the file
];
}

View file

@ -1,87 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.services.gogoclient;
in
{
###### interface
options = {
services.gogoclient = {
enable = mkOption {
default = false;
type = types.bool;
description = ''
Enable the gogoCLIENT IPv6 tunnel.
'';
};
autorun = mkOption {
type = types.bool;
default = true;
description = ''
Whether to automatically start the tunnel.
'';
};
username = mkOption {
default = "";
type = types.str;
description = ''
Your Gateway6 login name, if any.
'';
};
password = mkOption {
default = "";
type = types.str;
description = ''
Path to a file (as a string), containing your gogoNET password, if any.
'';
};
server = mkOption {
type = types.str;
default = "anonymous.freenet6.net";
example = "broker.freenet6.net";
description = "The Gateway6 server to be used.";
};
};
};
###### implementation
config = mkIf cfg.enable {
boot.kernelModules = [ "tun" ];
networking.enableIPv6 = true;
systemd.services.gogoclient = {
description = "ipv6 tunnel";
after = [ "network.target" ];
requires = [ "network.target" ];
unitConfig.RequiresMountsFor = "/var/lib/gogoc";
script = let authMethod = if cfg.password == "" then "anonymous" else "any"; in ''
mkdir -p -m 700 /var/lib/gogoc
cat ${pkgs.gogoclient}/share/${pkgs.gogoclient.name}/gogoc.conf.sample | \
${pkgs.gnused}/bin/sed \
-e "s|^userid=|&${cfg.username}|" \
-e "s|^passwd=|&${optionalString (cfg.password != "") "$(cat ${cfg.password})"}|" \
-e "s|^server=.*|server=${cfg.server}|" \
-e "s|^auth_method=.*|auth_method=${authMethod}|" \
-e "s|^#log_file=|log_file=1|" > /var/lib/gogoc/gogoc.conf
cd /var/lib/gogoc
exec ${pkgs.gogoclient}/bin/gogoc -y -f /var/lib/gogoc/gogoc.conf
'';
} // optionalAttrs cfg.autorun {
wantedBy = [ "multi-user.target" ];
};
};
}

View file

@ -4,21 +4,48 @@
, llvmPackages
, protobuf
, rustPlatform
, writeShellScriptBin
}:
rustPlatform.buildRustPackage rec {
pname = "polkadot";
version = "0.9.14";
version = "0.9.16";
src = fetchFromGitHub {
owner = "paritytech";
repo = "polkadot";
rev = "v${version}";
sha256 = "sha256-SCi+hpdMUTX1NLF1RUce0d/2G19sVfJ5IsmM1xcAUKo=";
sha256 = "sha256-NXuYUmo80rrBZCcuISKon48SKyyJrkzCEhggxaJNfBM=";
# see the comment below on fakeGit for how this is used
leaveDotGit = true;
postFetch = ''
( cd $out; git rev-parse --short HEAD > .git_commit )
rm -rf $out/.git
'';
};
cargoSha256 = "sha256-ZcIsbMI96qX0LLJXmkCRS9g40ccZOH/upPbAA7XEZIw=";
cargoSha256 = "sha256-PIORMTzQbMdlrKwuF4MiGrLlg2nQpgLRsaHHeiCbqrg=";
nativeBuildInputs = [ clang ];
nativeBuildInputs =
let
# the build process of polkadot requires a .git folder in order to determine
# the git commit hash that is being built and add it to the version string.
# since having a .git folder introduces reproducibility issues to the nix
# build, we check the git commit hash after fetching the source and save it
# into a .git_commit file, and then delete the .git folder. then we create a
# fake git command that will just return the contents of this file, which will
# be used when the polkadot build calls `git rev-parse` to fetch the commit
# hash.
fakeGit = writeShellScriptBin "git" ''
if [[ $@ = "rev-parse --short HEAD" ]]; then
cat /build/source/.git_commit
else
>&2 echo "Unknown command: $@"
exit 1
fi
'';
in
[ clang fakeGit ];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
PROTOC = "${protobuf}/bin/protoc";

View file

@ -14,17 +14,17 @@ let
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
sha256 = {
x86_64-linux = "0nszdd3bmixspv9wc837l9ibs996kr92awpnhx0c00mh823id9g8";
x86_64-darwin = "0fvxlkgsr19rwbjlqqsql7rb1ah15svr4bd9zwxg0xv23q51xadc";
aarch64-linux = "0037k2iv8cg45rx8sprm3zdj0ai76xn2l4ynij0hp7s2sh947d4s";
aarch64-darwin = "0z3zrd90cxh892g5n5ga8xxwczfqd03lcnhz8b8k0lh2l9321inc";
armv7l-linux = "193b560pvznkwk58bhqbr3jgbwx26vg26s5sqaibcw3z41v58a3c";
x86_64-linux = "0gv71l9cidkbbv7b1dsfyn7lnlwcmjds9qx6nrh7alymdm1xa2xr";
x86_64-darwin = "1is795040xb3l23crblwf056wsvsi4dip3lkwhlblhkpsl0048f1";
aarch64-linux = "186dy6h3krc6fqvmh1nay1dk5109kl9p25kx37jkbzf2qhnpibm8";
aarch64-darwin = "04xc5fy4wcplfrigbm624dpzxd2m4rkq979xr1i57p3d20i96s6g";
armv7l-linux = "1k7bfmrfw16zpn33p7ycxpp6g9xh8aypmf61nrkx2jn99nxy5d3s";
}.${system};
in
callPackage ./generic.nix rec {
# Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem.
version = "1.64.0";
version = "1.64.2";
pname = "vscode";
executableName = "code" + lib.optionalString isInsiders "-insiders";

View file

@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "cwltool";
version = "3.1.20220204090313";
version = "3.1.20220210171524";
format = "setuptools";
src = fetchFromGitHub {
owner = "common-workflow-language";
repo = pname;
rev = version;
sha256 = "sha256-2+2xTUBzQFaS99Xd3jwWuMrg2pNKCb6ZsMKKdOBRo74=";
sha256 = "sha256-Z0Btg2NklOwwv9c9lIwE6ONpfwCqZfraNWZd3qxzpGs=";
};
postPatch = ''

View file

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "flat-remix-gtk";
version = "20211223";
version = "20220118";
src = fetchFromGitHub {
owner = "daniruiz";
repo = pname;
rev = version;
sha256 = "sha256-jGE5ud7wEEa4JI1QTaCrOnbDwjQtDOFJX2uMo7t7+Js=";
sha256 = "sha256-FG/SQdMracnP9zlb6LtPAsATvKeX0WaWPwjbrR1ZNZM=";
};
dontBuild = true;

File diff suppressed because one or more lines are too long

View file

@ -8,13 +8,13 @@
stdenv.mkDerivation rec {
pname = "cgal";
version = "5.3.1";
version = "5.4";
src = fetchFromGitHub {
owner = "CGAL";
repo = "releases";
rev = "CGAL-${version}";
sha256 = "sha256-atILY/d2b99v0Kk226KwJ/qEcJnWBhtge52wkz6Bgcg=";
sha256 = "sha256-flrVWsvGAdGVCZ1Ygy9z30w6aU8WAzpMLv+JbP2CKjE=";
};
# note: optional component libCGAL_ImageIO would need zlib and opengl;

View file

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "elfio";
version = "3.9";
version = "3.10";
src = fetchFromGitHub {
owner = "serge1";
repo = "elfio";
rev = "Release_${version}";
sha256 = "sha256-5O9KnHZXzepp3O1PGenJarrHElWLHgyBvvDig1Hkmo4=";
sha256 = "sha256-DuZhkiHXdCplRiOy1Gsu7voVPdCbFt+4qFqlOeOeWQw=";
};
nativeBuildInputs = [ cmake ];

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "pico-sdk";
version = "1.2.0";
version = "1.3.0";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = pname;
rev = version;
sha256 = "00z160f7ypws5pzp1ql7xrs3gmjcbw6gywnnq2fiwl47940balns";
sha256 = "sha256-cc1UTc1aswtJzuaUdYNcCzLtQ9+Wggiy/eRE+UoxSgE=";
};
nativeBuildInputs = [ cmake ];

View file

@ -2,7 +2,7 @@
, qtbase, qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtwebchannel
, fontconfig, libwebp, libxml2, libxslt
, sqlite, systemd, glib, gst_all_1, cmake
, bison, flex, gdb, gperf, perl, pkg-config, python2, ruby
, bison, flex, gdb, gperf, perl, pkg-config, python38, ruby
, ICU, OpenGL
}:
@ -30,7 +30,7 @@ qtModule {
++ lib.optionals stdenv.isDarwin [ ICU OpenGL ]
++ lib.optional usingAnnulenWebkitFork hyphen;
nativeBuildInputs = [
bison flex gdb gperf perl pkg-config python2 ruby
bison flex gdb gperf perl pkg-config python38 ruby
] ++ lib.optional usingAnnulenWebkitFork cmake;
cmakeFlags = lib.optionals usingAnnulenWebkitFork ([ "-DPORT=Qt" ]

View file

@ -5,7 +5,7 @@
stdenv.mkDerivation rec {
pname = "rinutils";
version = "0.8.0";
version = "0.10.0";
meta = with lib; {
homepage = "https://github.com/shlomif/rinutils";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://github.com/shlomif/${pname}/releases/download/${version}/${pname}-${version}.tar.xz";
sha256 = "1q09aihm5m42xiq2prpa9mf0srwiirzgzblkp5nl74i7zg6pg5hx";
sha256 = "sha256-cNifCoRk+PSU8zcEt8k5bn/KOS6Kr6pEZXEMGjiemAY=";
};
nativeBuildInputs = [ cmake perl ];

View file

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "gql";
version = "3.0.0rc0";
version = "3.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "graphql-python";
repo = pname;
rev = "v${version}";
hash = "sha256-yr1DyMj/0C9XPTyGdbQbn7nMRKr4JwItFDsqvl/goqU=";
hash = "sha256-c2OVBOIwQlwyqET8Q22O65VtWduVzQjYOhkE8GpD6LQ=";
};
propagatedBuildInputs = [

View file

@ -37,7 +37,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "HTTP/2 State-Machine based protocol implementation";
homepage = "http://hyper.rtfd.org/";
homepage = "https://github.com/python-hyper/h2";
license = licenses.mit;
maintainers = with maintainers; [ ];
};

View file

@ -1,5 +1,5 @@
{ lib
, buildPythonApplication
, buildPythonPackage
, fetchPypi
, jupyter_console
, jupyter_core
@ -8,7 +8,7 @@
, txzmq
}:
buildPythonApplication rec {
buildPythonPackage rec {
pname = "ilua";
version = "0.2.1";
format = "pyproject";

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
, pyopenssl
}:
buildPythonPackage rec {
pname = "netio";
version = "1.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Netio";
inherit version;
hash = "sha256-G1NSCchoRjgX2K9URNXsxpp9jxrQo0RgZ00tzWdexGU=";
};
propagatedBuildInputs = [
requests
pyopenssl
];
postPatch = ''
substituteInPlace setup.py \
--replace "import py2exe" ""
'';
pythonImportsCheck = [
"Netio"
];
# Module has no tests
doCheck = false;
meta = with lib; {
description = "Module for interacting with NETIO devices";
homepage = "https://github.com/netioproducts/PyNetio";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,65 @@
{ lib
, buildPythonPackage
, deprecated
, fetchFromGitHub
, fetchpatch
, poetry-core
, pytestCheckHook
, pythonOlder
, requests
, requests-mock
}:
buildPythonPackage rec {
pname = "openevsewifi";
version = "1.1.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "miniconfig";
repo = "python-openevse-wifi";
rev = "v${version}";
sha256 = "sha256-pNm+zupBGijCXIkdanMk7nE/+SFvSEFp9/Ht5OoxQrU=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
deprecated
requests
];
checkInputs = [
requests-mock
pytestCheckHook
];
patches = [
# Switch to poetry-core, https://github.com/miniconfig/python-openevse-wifi/pull/31
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/miniconfig/python-openevse-wifi/commit/1083868dd9f39a8ad7bb17f02cea1b8458e5b82d.patch";
sha256 = "sha256-XGeyi/PchBju1ICgL/ZCDGCbWwIJmLAcHuKaj+kDsI0=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'pytest-cov = "^2.8.1"' ""
'';
pythonImportsCheck = [
"openevsewifi"
];
meta = with lib; {
description = "Module for communicating with the wifi module from OpenEVSE";
homepage = "https://github.com/miniconfig/python-openevse-wifi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pulsectl";
version = "22.1.2";
version = "22.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-icAIrRgLX/WNqSit/6/423/pVLzA55wlFRcUHlgvEVk=";
sha256 = "sha256-8o/kuIHdLMFE0tlPg+xg2MWaUmQqCtNjXMTQ+EBvSFg=";
};
patches = [

View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, pythonOlder
}:
buildPythonPackage rec {
pname = "pynetgear";
version = "0.9.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MatMaul";
repo = pname;
rev = version;
sha256 = "sha256-sLGr8I0LcLPrmQZ6dI+hwRAiNCrnLtr2WU04rPoG4x4=";
};
propagatedBuildInputs = [
requests
];
pythonImportsCheck = [
"pynetgear"
];
# Tests don't pass
# https://github.com/MatMaul/pynetgear/issues/109
doCheck = false;
meta = with lib; {
description = "Module for interacting with Netgear wireless routers";
homepage = "https://github.com/MatMaul/pynetgear";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "pyskyqremote";
version = "0.2.59";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "RogerSelwyn";
repo = "skyq_remote";
rev = version;
sha256 = "sha256-I4BgNb+ijp6yVxHfccQMHY0Haf6tcWjsPNPWhEO6Puc=";
sha256 = "sha256-rTNEqLN7FgCJkW2nMNNO7U5q8Fp/EqZEfiPVZqW5BtM=";
};
propagatedBuildInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pytest-pythonpath";
version = "0.7.3";
version = "0.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "0qhxh0z2b3p52v3i0za9mrmjnb1nlvvyi2g23rf88b3xrrm59z33";
sha256 = "sha256-ZOGVsjqPjAxjH7Fogtmtb6QTftHylh3dFdUgZc1DXbY=";
};
buildInputs = [ pytest ];

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "python_http_client";
version = "3.3.5";
version = "3.3.6";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "sendgrid";
repo = "python-http-client";
rev = version;
sha256 = "sha256-VSrh6t9p7Xb8HqAwcuDSUD2Pj3NcXeg7ygKLG2MHFxk=";
sha256 = "sha256-Xchf/jVkQ7SYOzI9f81iS/G72k//6wkl2bMvHprOP9Y=";
};
checkInputs = [

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "pyvicare";
version = "2.14.0";
version = "2.16.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "somm15";
repo = "PyViCare";
rev = version;
sha256 = "sha256-+Rjs5PwsjcE8vsCS9gHmEj2Hy2OSH/YxNjYgjrBXHPk=";
sha256 = "sha256-fBqFvMb6/dg8PU2JYrXbOonXnS64d4ij81dRb30bVRc=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "sorl-thumbnail";
version = "12.7.0";
version = "12.8.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "fbe6dfd66a1aceb7e0203895ff5622775e50266f8d8cfd841fe1500bd3e19018";
sha256 = "sha256-7io8nwuInlmRk4PTeB8TF9ycSSf7RLIvsUN/b+cFS5Y=";
};
nativeBuildInputs = [ setuptools-scm ];

View file

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "teslajsonpy";
version = "1.6.0";
version = "1.7.0";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "zabuldon";
repo = pname;
rev = "v${version}";
sha256 = "1jxdfk2ka131spnfkl35lnzvkgwgsbs5xl3hsjj03q1nfjcqvx9l";
sha256 = "sha256-2k1RtWQSz46vsZ4uEjjOmHAkGmwuKYNAdWgcT2Xr7Dc=";
};
nativeBuildInputs = [

View file

@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "yfinance";
version = "0.1.69";
version = "0.1.70";
src = fetchFromGitHub {
owner = "ranaroussi";
repo = pname;
rev = version;
sha256 = "1077p01982wgbl8v74f8mqca0y6hmh6qr3gg7m3f1a30lgpljms3";
sha256 = "sha256-Anvt+ag0PysGynQv4q+2IrQmCPZViGqWI4dgfLQWGds=";
};
propagatedBuildInputs = [

View file

@ -1,15 +1,20 @@
{ lib, stdenv, fetchurl, fetchpatch
, getopt, tzdata, ksh
{ lib
, stdenv
, fetchurl
, fetchpatch
, getopt
, tzdata
, ksh
, pkgsMusl # for passthru.tests
}:
stdenv.mkDerivation rec {
pname = "bmake";
version = "20210621";
version = "20220208";
src = fetchurl {
url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz";
sha256 = "0gpzv75ibzqz1j1h0hdjgx1v7hkl3i5cb5yf6q9sfcgx0bvb55xa";
url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz";
hash = "sha256-ewDB4UYrLh5Upk2ND88n/HfursPxOSDv+NlST/BZ1to=";
};
# Make tests work with musl
@ -30,8 +35,6 @@ stdenv.mkDerivation rec {
./bootstrap-fix.patch
# preserve PATH from build env in unit tests
./fix-unexport-env-test.patch
# Fix localtime tests without global /etc/zoneinfo directory
./fix-localtime-test.patch
# Always enable ksh test since it checks in a impure location /bin/ksh
./unconditional-ksh-test.patch
# decouple tests from build phase
@ -48,15 +51,20 @@ stdenv.mkDerivation rec {
})
];
# The generated makefile is a small wrapper for calling ./boot-strap
# with a given op. On a case-insensitive filesystem this generated
# makefile clobbers a distinct, shipped, Makefile and causes
# infinite recursion during tests which eventually fail with
# "fork: Resource temporarily unavailable"
# The generated makefile is a small wrapper for calling ./boot-strap with a
# given op. On a case-insensitive filesystem this generated makefile clobbers
# a distinct, shipped, Makefile and causes infinite recursion during tests
# which eventually fail with "fork: Resource temporarily unavailable"
configureFlags = [
"--without-makefile"
];
# Disabled tests:
# varmod-localtime: musl doesn't support TZDIR and this test relies on impure,
# implicit paths
# opt-chdir: ofborg complains about it somehow
BROKEN_TESTS = "varmod-localtime opt-chdir";
buildPhase = ''
runHook preBuild
@ -74,11 +82,13 @@ stdenv.mkDerivation rec {
'';
doCheck = true;
checkInputs = [
tzdata
] ++ lib.optionals (stdenv.hostPlatform.libc != "musl") [
ksh
];
checkPhase = ''
runHook preCheck
@ -89,15 +99,15 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
passthru.tests = {
bmakeMusl = pkgsMusl.bmake;
meta = with lib; {
homepage = "http://www.crufty.net/help/sjg/bmake.html";
description = "Portable version of NetBSD 'make'";
license = licenses.bsd3;
maintainers = with maintainers; [ thoughtpolice AndersonTorres ];
platforms = platforms.unix;
broken = stdenv.isAarch64; # ofborg complains
};
meta = with lib; {
description = "Portable version of NetBSD 'make'";
homepage = "http://www.crufty.net/help/sjg/bmake.html";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice ];
};
passthru.tests.bmakeMusl = pkgsMusl.bmake;
}
# TODO: report the quirks and patches to bmake devteam (especially the Musl one)

View file

@ -1,24 +1,25 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "gauge";
version = "1.1.6";
version = "1.4.3";
goPackagePath = "github.com/getgauge/gauge";
excludedPackages = ''\(build\|man\)'';
src = fetchFromGitHub {
owner = "getgauge";
repo = "gauge";
rev = "v${version}";
sha256 = "02yrk4d5mm4j2grlhqkf4grxawx91kd2vhdn7k5wd2dl6wsnlgcl";
sha256 = "sha256-TszZAREk6Hs2jULjftQAhHRIVKaZ8fw0NLJkBdr0FPw=";
};
vendorSha256 = "1wp19m5n85c7lsv8rvcbfz1bv4zhhb7dj1frkdh14cqx70s33q8r";
meta = with lib; {
description = "Light weight cross-platform test automation";
homepage = "https://gauge.org";
license = licenses.gpl3;
maintainers = [ maintainers.vdemeester ];
platforms = platforms.unix;
description = "Light weight cross-platform test automation";
homepage = "https://gauge.org";
license = licenses.asl20;
maintainers = [ maintainers.vdemeester ];
platforms = platforms.unix;
};
}

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool }:
stdenv.mkDerivation rec {
version="1.33";
version="1.36";
pname = "mxt-app";
src = fetchFromGitHub {
owner = "atmel-maxtouch";
repo = "mxt-app";
rev = "v${version}";
sha256 = "sha256-PgIIxoyR7UA5y4UZ6meJERrbi1Bov03pJkN5St4BWss=";
sha256 = "sha256-hS/4d7HUCoulY73Sn1+IAb/IWD4VDht78Tn2jdluzhU=";
};
nativeBuildInputs = [ autoreconfHook ];

View file

@ -2,12 +2,12 @@
stdenvNoCC.mkDerivation rec {
pname = "linux-firmware";
version = "20211216";
version = "20220209";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
rev = "refs/tags/${version}";
sha256 = "sha256-Q5TPtSbETDDRVKFfwQOp+GGsTGpTpGU5PQ5QkJCtWcM=";
sha256 = "sha256-QWGnaGQrDUQeYUIBq0/63YdHZgyaF4s9fdyLA9bb6qs=";
};
installFlags = [ "DESTDIR=$(out)" ];
@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation rec {
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "sha256-nyhxyDVO7tWkCD7fMjwiFNuMSh5e/z5w71CIZw3SJH8=";
outputHash = "sha256-ahXZK13wrcZW/8ZCgUTHU6N4QKsL3NV98eRbYGBp3jw=";
meta = with lib; {
description = "Binary firmware collection packaged by kernel.org";

View file

@ -22,31 +22,31 @@
"5.10": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-5.10.96-hardened1.patch",
"sha256": "000mpwvyxkiw0kn0wdz8c97a39wafc8pia4rqraf7z21hbavbiav",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.96-hardened1/linux-hardened-5.10.96-hardened1.patch"
"name": "linux-hardened-5.10.98-hardened1.patch",
"sha256": "13cjr3k2vyxmwk5gjrkwklzvl38p1d4qrzfqm7nqssvh52kqzkq1",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.98-hardened1/linux-hardened-5.10.98-hardened1.patch"
},
"sha256": "0j70nbsxy6qpynr3f9igl9wf14wx40diazf4j7w7mlwxh51a1r9m",
"version": "5.10.96"
"sha256": "0hwl1ypllx9l5pv04yavz627qb31ki9mhznsak5bq48hbz0wc90v",
"version": "5.10.98"
},
"5.15": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-5.15.19-hardened1.patch",
"sha256": "0nkwf7dzvgm30hl24g8rpk3raqcxlplga0ksk8f9w7s87axpr5lm",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.19-hardened1/linux-hardened-5.15.19-hardened1.patch"
"name": "linux-hardened-5.15.21-hardened1.patch",
"sha256": "1j01mlyr53wry8n7bzg6pi4nilj3i9jpq5aml6f25fjckz5apll7",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.21-hardened1/linux-hardened-5.15.21-hardened1.patch"
},
"sha256": "0l70ckc0imnn7x9p9dawprzblszadk79468wx3zqz951yb4k5gh1",
"version": "5.15.19"
"sha256": "1lgvf3mrsbwjdjfvznbf5c3np76a7xxqr2rw7i6196ywsxnfnki9",
"version": "5.15.21"
},
"5.4": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-5.4.176-hardened1.patch",
"sha256": "0w8zh2kcaclancivr65ij6mgbgyvf5vmlmf3mls4n1yj0ld15ghd",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.176-hardened1/linux-hardened-5.4.176-hardened1.patch"
"name": "linux-hardened-5.4.177-hardened1.patch",
"sha256": "1xyfc1hsphjgaxr2b36y7r3mzm3vn8vd1av73cwr42flc0qn3g4j",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.177-hardened1/linux-hardened-5.4.177-hardened1.patch"
},
"sha256": "0h67d34n8cwq60rv8nw0a7n9mkihs0cg0b5zl6ihfyjflqj0jq6r",
"version": "5.4.176"
"sha256": "0wvb5is8rqvfxia1i8lw4yd3fm2bhb6wdl0bdjq90dx7y46wpxqq",
"version": "5.4.177"
}
}

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "4.14.264";
version = "4.14.265";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1d1588f0zrq93dk9j8gmvfm9mlniyw98s0i3gmg2sa7h1p04pc2m";
sha256 = "1iwjg2z8818g1sl6l79pm5590hzwpxqcxh7wcdb00y4m3maksr0s";
};
} // (args.argsOverride or {}))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "4.19.227";
version = "4.19.228";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0d1jyyxdrpyi35033fjg8g6zz99ffry2ks1wlldfaxfa6wh9dp39";
sha256 = "14iis3x3jmfxwqqi7v7ijssqzha8d8nnydi4zqnpk53m45jw7km8";
};
} // (args.argsOverride or {}))

View file

@ -1,12 +1,12 @@
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
buildLinux (args // rec {
version = "4.9.299";
version = "4.9.300";
extraMeta.branch = "4.9";
extraMeta.broken = stdenv.isAarch64;
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1n0y8hi7ljs9jr3viqhbpshq0wapmyqb8d9vlh4yzg2n5y5qs3l1";
sha256 = "1bzmnkhxgz093ninqg8bh348d7s4xmkld2bld8nl215gnji0wfdb";
};
} // (args.argsOverride or {}))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "5.10.98";
version = "5.10.99";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "0hwl1ypllx9l5pv04yavz627qb31ki9mhznsak5bq48hbz0wc90v";
sha256 = "0j84g55d0v3832y9c5gh7bnmhnrb5bc9xdivps5n7n6km9c3b980";
};
} // (args.argsOverride or {}))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "5.15.21";
version = "5.15.22";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "1lgvf3mrsbwjdjfvznbf5c3np76a7xxqr2rw7i6196ywsxnfnki9";
sha256 = "1hv3ci37nz79m1dg83ha4hl1jjnl3l52lvdzx514sp8hqihgji1m";
};
} // (args.argsOverride or { }))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "5.16.7";
version = "5.16.8";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "1kd6v31z9rylnpyrv6b3i622ismxbiv165dcjh2fn5aliqzgalap";
sha256 = "05h3b11czr710lilmb5gq84a78cfz3jm03q2q0gcrpcaxq2mzajj";
};
} // (args.argsOverride or { }))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "5.4.177";
version = "5.4.178";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "0wvb5is8rqvfxia1i8lw4yd3fm2bhb6wdl0bdjq90dx7y46wpxqq";
sha256 = "19k2yzqlr4rarl086sr6vjnh0lq5wmg5n7r2p0cai9yfvq3spp2c";
};
} // (args.argsOverride or {}))

View file

@ -6,7 +6,7 @@
, ... } @ args:
let
version = "5.4.170-rt68"; # updated by ./update-rt.sh
version = "5.4.177-rt69"; # updated by ./update-rt.sh
branch = lib.versions.majorMinor version;
kversion = builtins.elemAt (lib.splitString "-" version) 0;
in buildLinux (args // {
@ -14,14 +14,14 @@ in buildLinux (args // {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz";
sha256 = "0b1qdmp2q0lpngfvvnwb248cnqn9akk2z4xawrfwziszrzh797xh";
sha256 = "0wvb5is8rqvfxia1i8lw4yd3fm2bhb6wdl0bdjq90dx7y46wpxqq";
};
kernelPatches = let rt-patch = {
name = "rt";
patch = fetchurl {
url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz";
sha256 = "0wzvyybrawn9y3ccgafj6jcmh31vwwq2n5rrlidn80736466a3ba";
sha256 = "16m1swkg54cgcgqwl6vifbpfvdf7waigbwi9brafwplb965zq5a2";
};
}; in [ rt-patch ] ++ kernelPatches;

View file

@ -247,6 +247,8 @@ nixFlakeBuild() {
local k="$1"; shift 1
evalArgs+=("$i" "$j" "$k")
;;
--impure) # We don't want this in buildArgs, it's only needed at evaluation time, and unsupported during realisation
;;
*)
buildArgs+=("$i")
;;

View file

@ -1,12 +1,12 @@
{ lib, stdenv, fetchgit, pkg-config, asciidoc, xmlto, docbook_xsl, libxslt, libtraceevent, libtracefs }:
stdenv.mkDerivation rec {
pname = "trace-cmd";
version = "2.9.5";
version = "2.9.6";
src = fetchgit {
url = "git://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/";
rev = "trace-cmd-v${version}";
sha256 = "0kc5cldk5i7q2zr2nyz3mvs5v7w0km6lpx7g39sy3pmhshp0wqlq";
sha256 = "sha256-rI6zD54NoArQbSJOINu9hifj/DJehCcqBpGI0TeoDLA=";
};
# Don't build and install html documentation
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "User-space tools for the Linux kernel ftrace subsystem";
homepage = "https://www.trace-cmd.org/";
license = licenses.gpl2;
license = with licenses; [ lgpl21Only gpl2Only ];
platforms = platforms.linux;
maintainers = with maintainers; [ thoughtpolice basvandijk ];
};

View file

@ -569,7 +569,7 @@
"nest" = ps: with ps; [ aiohttp-cors google-nest-sdm ha-ffmpeg python-nest ];
"netatmo" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa pyatmo ];
"netdata" = ps: with ps; [ netdata ];
"netgear" = ps: with ps; [ ]; # missing inputs: pynetgear
"netgear" = ps: with ps; [ pynetgear ];
"netgear_lte" = ps: with ps; [ eternalegypt ];
"netio" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pynetio
"network" = ps: with ps; [ aiohttp-cors ifaddr ];
@ -619,7 +619,7 @@
"openalpr_local" = ps: with ps; [ ];
"opencv" = ps: with ps; [ numpy ]; # missing inputs: opencv-python-headless
"openerz" = ps: with ps; [ openerz-api ];
"openevse" = ps: with ps; [ ]; # missing inputs: openevsewifi
"openevse" = ps: with ps; [ openevsewifi ];
"openexchangerates" = ps: with ps; [ ];
"opengarage" = ps: with ps; [ open-garage ];
"openhardwaremonitor" = ps: with ps; [ ];
@ -1368,6 +1368,7 @@
"ness_alarm"
"nest"
"netatmo"
"netgear"
"network"
"nexia"
"nightscout"

View file

@ -10,7 +10,6 @@
, bzip2, lz4, lzo, snappy, xz, zlib, zstd
, cracklib, judy, libevent, libxml2
, linux-pam, numactl, pmdk
, fmt_8
, withStorageMroonga ? true, kytea, libsodium, msgpack, zeromq
, withStorageRocks ? true
}:
@ -174,8 +173,7 @@ in stdenv.mkDerivation (common // {
++ lib.optionals stdenv.hostPlatform.isLinux [ linux-pam ]
++ lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64) pmdk.dev
++ lib.optional (!stdenv.hostPlatform.isDarwin) mytopEnv
++ lib.optionals withStorageMroonga [ kytea libsodium msgpack zeromq ]
++ lib.optionals (lib.versionAtLeast common.version "10.7") [ fmt_8 ];
++ lib.optionals withStorageMroonga [ kytea libsodium msgpack zeromq ];
patches = common.patches;
@ -237,27 +235,17 @@ in stdenv.mkDerivation (common // {
in {
mariadb_104 = mariadbPackage {
# Supported until 2024-06-18
version = "10.4.23";
sha256 = "1wlhjd1xvk6p2lb93v8kfjk1scyjz882fx0i0sjyyk047mh2i852";
version = "10.4.22";
sha256 = "000ca1hdnj2jg051cjgdd2ralgwgh2p8nwb1x6b85202xdpc7ga4";
};
mariadb_105 = mariadbPackage {
# Supported until 2025-06-24
version = "10.5.14";
sha256 = "02y292mfvr6ils4m61lh9vy74z3w2xkz6xinpgg9wl5h7q29gzaf";
version = "10.5.13";
sha256 = "0n0w1pyypv6wsknaqyykj3lc9zv6smji4q5jcf90w4rid330iw0n";
};
mariadb_106 = mariadbPackage {
# Supported until 2026-07
version = "10.6.6";
sha256 = "1hz1iwkgrlhhrn5ypxszfp5ngfmfakjxl3ihzsm4845xhzn1fr77";
};
mariadb_107 = mariadbPackage {
# Supported until 2023-02
version = "10.7.2";
sha256 = "1cx5s8vq7s3r4w1drmp549kl2nyijzq6ds2mcjyzc7bk9ylipx6p";
};
mariadb_108 = mariadbPackage {
# Supported until 2023-05
version = "10.8.1";
sha256 = "0ns0z8w3374jrfdrmq7ncag089xwmf7wkr5aq3p9shk1b5mln9z2";
version = "10.6.5";
sha256 = "13qaqb2h6kysfdi3h1l9zbb2qlpjgxb1n8mxnj5jm96r50209gp0";
};
}

View file

@ -5,22 +5,22 @@
stdenv.mkDerivation rec {
pname = "ocserv";
version = "1.1.2";
version = "1.1.5";
src = fetchFromGitLab {
owner = "openconnect";
repo = "ocserv";
rev = version;
sha256 = "gXolG4zTnJpgI32SuudhvlP9snI0k4Oa1mqE7eGbdE0=";
sha256 = "sha256-mb1xmv2jM8XpKiUX/IlVctKUimMeF1oMDnT6YMZ0nCY=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp gperf readline lz4 libgssglue ronn pam ];
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp readline lz4 libgssglue pam ];
meta = with lib; {
homepage = "https://gitlab.com/openconnect/ocserv";
license = licenses.gpl2;
description = "This program is openconnect VPN server (ocserv), a server for the openconnect VPN client";
license = licenses.gpl2Plus;
description = "OpenConnect VPN server (ocserv), a server for the OpenConnect VPN client";
maintainers = with maintainers; [ neverbehave ];
};
}

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "tinyfecvpn";
version = "20180820.0";
version = "20210116.0";
src = fetchFromGitHub {
owner = "wangyu-";
repo = pname;
rev = version;
sha256 = "1mbb9kzvy24na375dz0rlf5k93gan1vahamc9wzkn34mcx8i97cs";
sha256 = "sha256-Ng5AZJfrnNXSSbhJKBc+giNp2yOWta0EozWHB7lFUmw=";
fetchSubmodules = true;
};

View file

@ -442,11 +442,7 @@ with pkgs;
dotfiles = callPackage ../applications/misc/dotfiles { };
dotnetenv = callPackage ../build-support/dotnetenv {
dotnetfx = dotnetfx40;
};
dotnetbuildhelpers = callPackage ../build-support/dotnetbuildhelpers { };
# Dotnet
dotnetCorePackages = recurseIntoAttrs (callPackage ../development/compilers/dotnet {});
@ -459,6 +455,17 @@ with pkgs;
dotnet-runtime = dotnetCorePackages.runtime_6_0;
dotnet-aspnetcore = dotnetCorePackages.aspnetcore_6_0;
buildDotnetModule = callPackage ../build-support/dotnet/build-dotnet-module { };
nuget-to-nix = callPackage ../build-support/dotnet/nuget-to-nix { };
dotnetenv = callPackage ../build-support/dotnet/dotnetenv {
dotnetfx = dotnetfx40;
};
buildDotnetPackage = callPackage ../build-support/dotnet/build-dotnet-package { };
fetchNuGet = callPackage ../build-support/dotnet/fetchnuget { };
dotnetbuildhelpers = callPackage ../build-support/dotnet/dotnetbuildhelpers { };
dumb-init = callPackage ../applications/virtualization/dumb-init {};
umoci = callPackage ../applications/virtualization/umoci {};
@ -660,11 +667,6 @@ with pkgs;
fetchFromRepoOrCz = callPackage ../build-support/fetchrepoorcz {};
fetchNuGet = callPackage ../build-support/fetchnuget { };
buildDotnetPackage = callPackage ../build-support/build-dotnet-package { };
buildDotnetModule = callPackage ../build-support/build-dotnet-module { };
nuget-to-nix = callPackage ../build-support/nuget-to-nix { };
fetchgx = callPackage ../build-support/fetchgx { };
resolveMirrorURLs = {url}: fetchurl {
@ -21504,8 +21506,6 @@ with pkgs;
mariadb_104
mariadb_105
mariadb_106
mariadb_107
mariadb_108
;
mariadb = mariadb_106;

View file

@ -5380,6 +5380,8 @@ in {
netifaces = callPackage ../development/python-modules/netifaces { };
netio = callPackage ../development/python-modules/netio { };
nettigo-air-monitor = callPackage ../development/python-modules/nettigo-air-monitor { };
networkx = callPackage ../development/python-modules/networkx { };
@ -5649,6 +5651,8 @@ in {
openerz-api = callPackage ../development/python-modules/openerz-api { };
openevsewifi = callPackage ../development/python-modules/openevsewifi { };
openhomedevice = callPackage ../development/python-modules/openhomedevice { };
openidc-client = callPackage ../development/python-modules/openidc-client { };
@ -7196,6 +7200,8 @@ in {
pynetdicom = callPackage ../development/python-modules/pynetdicom { };
pynetgear = callPackage ../development/python-modules/pynetgear { };
pynina = callPackage ../development/python-modules/pynina { };
pynisher = callPackage ../development/python-modules/pynisher { };