Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Mar 18, 2023
2 parents 7f0b38b + d384095 commit 403b148
Show file tree
Hide file tree
Showing 34 changed files with 167 additions and 68 deletions.
7 changes: 6 additions & 1 deletion maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7804,7 +7804,6 @@
name = "Claudius Holeksa";
};
ken-matsui = {
email = "[email protected]";
github = "ken-matsui";
githubId = 26405363;
name = "Ken Matsui";
Expand Down Expand Up @@ -9255,6 +9254,12 @@
github = "marius851000";
githubId = 22586596;
};
markbeep = {
email = "[email protected]";
github = "markbeep";
githubId = 20665331;
name = "Mark";
};
markus1189 = {
email = "[email protected]";
github = "markus1189";
Expand Down
7 changes: 7 additions & 0 deletions nixos/tests/pomerium.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
}; in {
pomerium = { pkgs, lib, ... }: {
imports = [ (base "192.168.1.1") ];
environment.systemPackages = with pkgs; [ chromium ];
services.pomerium = {
enable = true;
settings = {
Expand Down Expand Up @@ -98,5 +99,11 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
pomerium.succeed(
"curl -L --resolve login.required:80:127.0.0.1 http://login.required | grep 'hello I am login page'"
)
with subtest("ui"):
pomerium.succeed(
# check for a string that only appears if the UI is displayed correctly
"chromium --no-sandbox --headless --disable-gpu --dump-dom --host-resolver-rules='MAP login.required 127.0.0.1:80' http://login.required/.pomerium | grep 'contact your administrator'"
)
'';
})
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ stdenv, lib, cmake, pkg-config, fetchFromGitHub, qtbase, qtsvg, qtmultimedia, qtimageformats, qttools, boost, openssl, wrapQtAppsHook }:
{ stdenv, lib, cmake, pkg-config, fetchFromGitHub, qtbase, qtsvg, qtmultimedia, qtimageformats, qttools, boost, openssl, wrapQtAppsHook, libsecret }:

stdenv.mkDerivation rec {
pname = "chatterino2";
version = "2.4.0";
version = "2.4.2";
src = fetchFromGitHub {
owner = "Chatterino";
repo = pname;
rev = "v${version}";
sha256 = "sha256-6t7Or2heyV0B5zdWZpN80iADe52faNVlIEZYtcixpZo=";
sha256 = "sha256-d/rsY4pgPpA4JcMmoD6AG1DzHovfSERaeuYkMY603kA=";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
buildInputs = [ qtbase qtsvg qtmultimedia qtimageformats qttools boost openssl ];
buildInputs = [ qtbase qtsvg qtmultimedia qtimageformats qttools boost openssl libsecret ];
postInstall = lib.optionalString stdenv.isDarwin ''
mkdir -p "$out/Applications"
mv bin/chatterino.app "$out/Applications/"
Expand Down
9 changes: 5 additions & 4 deletions pkgs/applications/radio/sdrangel/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ airspy
{ lib
, stdenv
, airspy
, airspyhf
, aptdec
, boost
Expand All @@ -13,7 +15,6 @@
, glew
, hackrf
, hidapi
, lib
, ffmpeg
, libiio
, libopus
Expand Down Expand Up @@ -95,7 +96,7 @@ mkDerivation rec {
"-DDAB_LIB=${dab_lib}"
"-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv"
"-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include"
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite.so"
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite${stdenv.hostPlatform.extensions.sharedLibrary}"
"-DSGP4_DIR=${sgp4}"
"-DSOAPYSDR_DIR=${soapysdr-with-plugins}"
];
Expand All @@ -110,6 +111,6 @@ mkDerivation rec {
homepage = "https://github.com/f4exb/sdrangel";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ alkeryn ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}
9 changes: 5 additions & 4 deletions pkgs/applications/science/biology/nest/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@

stdenv.mkDerivation rec {
pname = "nest";
version = "3.3";
version = "3.4";

src = fetchFromGitHub {
owner = "nest";
repo = "nest-simulator";
rev = "v${version}";
sha256 = "sha256-wmn5LOOHlSuyPdV6O6v7j10dxdcvqpym6MfveZdL+dU=";
hash = "sha256-+wjsZxW2l0WGyGTm/6vyzPEeqCfyxJml9oP/zn6W1L0=";
};

postPatch = ''
Expand Down Expand Up @@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
postInstall = ''
# Alternative to autoPatchElf, moves libraries where
# Nest expects them to be
find $out/lib/nest -type f -exec ln -s {} $out/lib \;
find $out/lib/nest -exec ln -s {} $out/lib \;
'';

passthru.tests.version = testers.testVersion {
Expand All @@ -78,7 +78,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "NEST is a command line tool for simulating neural networks";
homepage = "https://www.nest-simulator.org/";
license = licenses.gpl2;
changelog = "https://github.com/nest/nest-simulator/releases/tag/v${version}";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ jiegec davidcromp ];
platforms = platforms.unix;
};
Expand Down
2 changes: 0 additions & 2 deletions pkgs/build-support/trivial-builders/test/references.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ testers.nixosTest {
""")
'';
meta = {
license = lib.licenses.mit; # nixpkgs license
maintainers = with lib.maintainers; [
roberth
];
description = "Run the Nixpkgs trivial builders tests";
};
}
4 changes: 2 additions & 2 deletions pkgs/data/themes/orchis-theme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ lib.checkListOfEnum "${pname}: theme tweaks" validTweaks tweaks
stdenvNoCC.mkDerivation
rec {
inherit pname;
version = "2023-02-26";
version = "2023-03-18";

src = fetchFromGitHub {
repo = "Orchis-theme";
owner = "vinceliuice";
rev = version;
sha256 = "sha256-Qk5MK8S8rIcwO7Kmze6eAl5qcwnrGsiWbn0WNIPjRnA=";
hash = "sha256-ixVHQRJXoXuPEsrbWOVMC/qdF3szpxYzC/8kKe47Bs8=";
};

nativeBuildInputs = [ gtk3 sassc ];
Expand Down
33 changes: 28 additions & 5 deletions pkgs/development/embedded/bossa/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{ lib, stdenv, fetchFromGitHub, wxGTK, libX11, readline }:
{ lib
, stdenv
, fetchFromGitHub
, wxGTK32
, libX11
, readline
, darwin
}:

let
# BOSSA needs a "bin2c" program to embed images.
Expand All @@ -24,11 +31,27 @@ stdenv.mkDerivation rec {
sha256 = "sha256-8M3MU/+Y1L6SaQ1yoC9Z27A/gGruZdopLnL1z7h7YJw=";
};

postPatch = ''
substituteInPlace Makefile \
--replace "-arch x86_64" ""
'';

nativeBuildInputs = [ bin2c ];
buildInputs = [ wxGTK libX11 readline ];
buildInputs = [
wxGTK32
libX11
readline
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
];

# Explicitly specify targets so they don't get stripped.
makeFlags = [ "bin/bossac" "bin/bossash" "bin/bossa" ];
makeFlags = [
"WXVERSION=3.2"
# Explicitly specify targets so they don't get stripped.
"bin/bossac"
"bin/bossash"
"bin/bossa"
];
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";

installPhase = ''
Expand All @@ -47,6 +70,6 @@ stdenv.mkDerivation rec {
'';
homepage = "http://www.shumatech.com/web/products/bossa";
license = licenses.bsd3;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/aptdec/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/Xerbo/aptdec";
license = licenses.gpl2;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/cm256cc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
homepage = "https://github.com/f4exb/cm256cc";
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ alkeryn ];
license = licenses.gpl3;
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/dab_lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/JvanKatwijk/dab-cmdline";
license = licenses.gpl2;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/dsdcc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/f4exb/dsdcc";
license = licenses.gpl3;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}
5 changes: 2 additions & 3 deletions pkgs/development/libraries/opencv/3.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
, enableDC1394 ? false, libdc1394
, enableDocs ? false, doxygen, graphviz-nox

, AVFoundation, Cocoa, VideoDecodeAcceleration, bzip2
, AVFoundation, Cocoa, VideoDecodeAcceleration, bzip2, CoreMedia, MediaToolbox
}:

assert blas.implementation == "openblas" && lapack.implementation == "openblas";
Expand Down Expand Up @@ -211,7 +211,7 @@ stdenv.mkDerivation {
# tesseract & leptonica.
++ lib.optionals enableTesseract [ tesseract leptonica ]
++ lib.optional enableTbb tbb
++ lib.optionals stdenv.isDarwin [ bzip2 AVFoundation Cocoa VideoDecodeAcceleration ]
++ lib.optionals stdenv.isDarwin [ bzip2 AVFoundation Cocoa VideoDecodeAcceleration CoreMedia MediaToolbox ]
++ lib.optionals enableDocs [ doxygen graphviz-nox ];

propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy
Expand Down Expand Up @@ -250,7 +250,6 @@ stdenv.mkDerivation {
] ++ lib.optionals stdenv.isDarwin [
"-DWITH_OPENCL=OFF"
"-DWITH_LAPACK=OFF"
"-DBUILD_opencv_videoio=OFF"
] ++ lib.optionals enablePython [
"-DOPENCV_SKIP_PYTHON_LOADER=ON"
] ++ lib.optionals enableEigen [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/qt-5/modules/qtspeech.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ qtModule, speechd, pkg-config }:
{ lib, qtModule, stdenv, speechd, pkg-config }:

qtModule {
pname = "qtspeech";
qtInputs = [ ];
buildInputs = [ speechd ];
buildInputs = lib.optionals stdenv.isLinux [ speechd ];
nativeBuildInputs = [ pkg-config ];
outputs = [ "out" "dev" ];
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/qt-5/modules/qtwebengine.nix
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ qtModule {
Prefix = ..
EOF
'' + ''
# Fix for out-of-sync QtWebEngine and Qt releases (since 5.15.3)
sed 's/${lib.head (lib.splitString "-" version)} /${qtCompatVersion} /' -i "$out"/lib/cmake/*/*Config.cmake
'';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/serialdv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "C++ Minimal interface to encode and decode audio with AMBE3000 based devices in packet mode over a serial link";
homepage = "https://github.com/f4exb/serialdv";
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ alkeryn ];
license = licenses.gpl3;
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/sgp4/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/dnwrnr/sgp4";
license = licenses.asl20;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/peaqevcore/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

buildPythonPackage rec {
pname = "peaqevcore";
version = "13.2.0";
version = "13.2.2";
format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-fu4NL5m8+eae2+sTyi1yNA1J2qQfjfSlbIQyorlXZ6Y=";
hash = "sha256-N/tLoZNiMY1rzzToVvE9U4buUsmsDEcnKPOuifh7qg0=";
};

postPatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pyobihai/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

buildPythonPackage rec {
pname = "pyobihai";
version = "1.4.0";
version = "1.4.1";
format = "setuptools";

disabled = pythonOlder "3.7";

# GitHub release, https://github.com/dshokouhi/pyobihai/issues/10
src = fetchPypi {
inherit pname version;
hash = "sha256-P6tKpssey59SdjS/QWpuv1UUagjR7RVAl6rse/O79mg=";
hash = "sha256-L/AQy9IxsBDeSlu+45j+/86jjMFzTjAkPGwZoa1QYho=";
};

propagatedBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,6 @@ buildPythonPackage rec {
changelog = "https://github.com/python-lsp/python-lsp-server/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "pylsp";
};
}
10 changes: 5 additions & 5 deletions pkgs/development/tools/analysis/codeql/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{ lib, stdenv, fetchzip, zlib, xorg, freetype, jdk11, curl }:
{ lib, stdenv, fetchzip, zlib, xorg, freetype, jdk17, curl }:

stdenv.mkDerivation rec {
pname = "codeql";
version = "2.12.3";
version = "2.12.4";

dontConfigure = true;
dontBuild = true;
dontStrip = true;

src = fetchzip {
url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip";
sha256 = "sha256-xBTL3atnLsw7HWhkWq32LdQmSBtsQ2ydK+8On8l+OcA=";
sha256 = "sha256-Rmz35iyLXmNePHFVN8QmjeoKbR3eRy7nrY1FJpTfL7o=";
};

nativeBuildInputs = [
Expand All @@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
xorg.libXtst
xorg.libXrender
freetype
jdk11
jdk17
stdenv.cc.cc.lib
curl
];
Expand All @@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
ln -sf $out/codeql/tools/linux64/lib64trace.so $out/codeql/tools/linux64/libtrace.so
sed -i 's%\$CODEQL_DIST/tools/\$CODEQL_PLATFORM/java%\${jdk11}%g' $out/codeql/codeql
sed -i 's%\$CODEQL_DIST/tools/\$CODEQL_PLATFORM/java%\${jdk17}%g' $out/codeql/codeql
ln -s $out/codeql/codeql $out/bin/
'';
Expand Down
3 changes: 3 additions & 0 deletions pkgs/development/tools/buf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ buildGoModule rec {
export CI=true
'';

# Allow tests that bind or connect to localhost on macOS.
__darwinAllowLocalNetworking = true;

installPhase = ''
runHook preInstall
Expand Down
Loading

0 comments on commit 403b148

Please sign in to comment.