Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2022-04-17 18:01:36 +00:00 committed by GitHub
commit 6f0ffaae52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 158 additions and 57 deletions

View File

@ -1794,6 +1794,12 @@
githubId = 7214361;
name = "Roman Gerasimenko";
};
builditluc = {
email = "builditluc@icloud.com";
github = "builditluc";
githubId = 37375448;
name = "Buildit";
};
bburdette = {
email = "bburdette@protonmail.com";
github = "bburdette";

View File

@ -24,6 +24,7 @@ let
primeEnabled = syncCfg.enable || offloadCfg.enable;
nvidiaPersistencedEnabled = cfg.nvidiaPersistenced;
nvidiaSettings = cfg.nvidiaSettings;
busIDType = types.strMatching "([[:print:]]+\:[0-9]{1,3}\:[0-9]{1,2}\:[0-9])?";
in
{
@ -68,7 +69,7 @@ in
};
hardware.nvidia.prime.nvidiaBusId = mkOption {
type = types.strMatching "[[:print:]]+\:[0-9]{1,3}\:[0-9]{1,2}\:[0-9]";
type = busIDType;
default = "";
example = "PCI:1:0:0";
description = ''
@ -78,7 +79,7 @@ in
};
hardware.nvidia.prime.intelBusId = mkOption {
type = types.strMatching "[[:print:]]+\:[0-9]{1,3}\:[0-9]{1,2}\:[0-9]";
type = busIDType;
default = "";
example = "PCI:0:2:0";
description = ''
@ -88,7 +89,7 @@ in
};
hardware.nvidia.prime.amdgpuBusId = mkOption {
type = types.strMatching "[[:print:]]+\:[0-9]{1,3}\:[0-9]{1,2}\:[0-9]";
type = busIDType;
default = "";
example = "PCI:4:0:0";
description = ''

View File

@ -247,6 +247,7 @@ in
WorkingDirectory = workingDir;
RuntimeDirectory = "dendrite";
RuntimeDirectoryMode = "0700";
LimitNOFILE = 65535;
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
ExecStartPre = ''
${pkgs.envsubst}/bin/envsubst \

View File

@ -89,7 +89,7 @@ in
${lib.optionalString (cfg.passwordFile != null) ''
export SYNCPLAY_PASSWORD=$(cat "''${CREDENTIALS_DIRECTORY}/password")
''}
exec ${pkgs.syncplay}/bin/syncplay-server ${escapeShellArgs cmdArgs}
exec ${pkgs.syncplay-nogui}/bin/syncplay-server ${escapeShellArgs cmdArgs}
'';
};
};

View File

@ -62,14 +62,14 @@ in
stdenv.mkDerivation rec {
pname = "azuredatastudio";
version = "1.33.1";
version = "1.35.1";
desktopItems = [ desktopItem urlHandlerDesktopItem ];
src = fetchurl {
name = "${pname}-${version}.tar.gz";
url = "https://azuredatastudio-update.azurewebsites.net/${version}/linux-x64/stable";
sha256 = "sha256-jgZ8iZkic26JSgFTXpu1u1+MM4G5AqyW6Mj1tx5QwcY=";
sha256 = "sha256-b/ha+81TlffnvSENzaePvfFugcKJffvjRU7y+x60OuQ=";
};
nativeBuildInputs = [
@ -112,7 +112,7 @@ stdenv.mkDerivation rec {
];
# this will most likely need to be updated when azuredatastudio's version changes
sqltoolsservicePath = "${targetPath}/resources/app/extensions/mssql/sqltoolsservice/Linux/3.0.0-release.139";
sqltoolsservicePath = "${targetPath}/resources/app/extensions/mssql/sqltoolsservice/Linux/3.0.0-release.215";
rpath = lib.concatStringsSep ":" [
atomEnv.libPath

View File

@ -0,0 +1,21 @@
diff -Naur calcoo-2.1.0-old/build.xml calcoo-2.1.0-new/build.xml
--- calcoo-2.1.0-old/build.xml 1969-12-31 21:00:01.000000000 -0300
+++ calcoo-2.1.0-new/build.xml 2022-04-16 15:41:59.763861191 -0300
@@ -16,7 +16,7 @@
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
<!-- Compile the java code from ${src} into ${build} -->
- <javac srcdir="${src}" destdir="${build}" includeantruntime="false"/>
+ <javac srcdir="${src}" destdir="${build}" includeantruntime="false" encoding="iso-8859-1"/>
</target>
<target name="copyresource" depends="compile">
@@ -31,7 +31,7 @@
<target name="testcompile">
<mkdir dir="${testbuild}"/>
<!-- Compile the java code from ${testsrc} into ${testbuild} -->
- <javac srcdir="${testsrc}" destdir="${testbuild}" includeantruntime="false">
+ <javac srcdir="${testsrc}" destdir="${testbuild}" includeantruntime="false" encoding="iso-8859-1">
<classpath>
<pathelement location="${junitpath}\junit.jar"/>
<pathelement location="${junitpath}\hamcrest-core.jar"/>

View File

@ -0,0 +1,58 @@
{ lib
, stdenv
, fetchzip
, ant
, jdk
, makeWrapper
}:
stdenv.mkDerivation rec {
pname = "calcoo";
version = "2.1.0";
src = fetchzip {
url = "mirror://sourceforge/project/calcoo/calcoo/${version}/${pname}-${version}.zip";
hash = "sha256-Bdavj7RaI5CkWiOJY+TPRIRfNelfW5qdl/74J1KZPI0=";
};
patches = [
# Sets javac encoding option on build.xml
./0001-javac-encoding.diff
];
nativeBuildInputs = [
ant
jdk
makeWrapper
];
dontConfigure = true;
buildPhase = ''
runHook preBuild
ant
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/share/${pname}
mv dist/lib/calcoo.jar $out/share/${pname}
makeWrapper ${jdk}/bin/java $out/bin/calcoo \
--add-flags "-jar $out/share/${pname}/calcoo.jar"
runHook postInstall
'';
meta = with lib; {
homepage = "http://calcoo.sourceforge.net/";
description = "RPN and algebraic scientific calculator";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
inherit (jdk.meta) platforms;
};
}

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildPythonApplication, pyside2, shiboken2, twisted, certifi, qt5 }:
{ lib, fetchFromGitHub, buildPythonApplication, pyside2, twisted, certifi, qt5, enableGUI ? true }:
buildPythonApplication rec {
pname = "syncplay";
@ -13,12 +13,14 @@ buildPythonApplication rec {
sha256 = "0qm3qn4a1nahhs7q81liz514n9blsi107g9s9xfw2i8pzi7v9v0v";
};
propagatedBuildInputs = [ pyside2 shiboken2 twisted certifi ] ++ twisted.extras.tls;
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
propagatedBuildInputs = [ twisted certifi ]
++ twisted.extras.tls
++ lib.optional enableGUI pyside2;
nativeBuildInputs = lib.optionals enableGUI [ qt5.wrapQtAppsHook ];
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
postFixup = ''
postFixup = lib.optionalString enableGUI ''
wrapQtApp $out/bin/syncplay
'';

View File

@ -15,6 +15,7 @@ let
mkdir -p "$out"
cp -r ${monorepoSrc}/cmake "$out"
cp -r ${monorepoSrc}/${pname} "$out"
cp -r ${monorepoSrc}/clang-tools-extra "$out"
'';
sourceRoot = "${src.name}/${pname}";

View File

@ -1,13 +1,12 @@
{ lib, stdenv, fetchgit, gmp }:
{ lib, stdenv, fetchurl, gmp }:
stdenv.mkDerivation rec {
pname = "cln";
version = "1.3.6";
src = fetchgit {
url = "git://www.ginac.de/cln.git";
rev = "cln_${builtins.replaceStrings [ "." ] [ "-" ] version}";
sha256 = "sha256-P32F4TIDhE2Dwzydq8iFK6ch3kICJcXeeXHs5PBQG88=";
src = fetchurl {
url = "${meta.homepage}${pname}-${version}.tar.bz2";
sha256 = "0jlq9l4hphk7qqlgqj9ihjp4m3rwjbhk6q4v00lsbgbri07574pl";
};
buildInputs = [ gmp ];

View File

@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "h3";
version = "3.7.3";
version = "3.7.4";
# pypi version does not include tests
src = fetchFromGitHub {
owner = "uber";
repo = "h3-py";
rev = "v${version}";
sha256 = "0wc1fz8v59r97wlayr4lnsgwzd4fxm991xbs9690d4vwdkapafll";
rev = "refs/tags/v${version}";
sha256 = "sha256-/DtQD2M+5kBn1RxAOobVqtu32+1cxN8lZSuGH613Bwc=";
};
dontConfigure = true;

View File

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "plaid-python";
version = "9.2.0";
version = "9.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-3yFfANMkn8CXCheNHU77WGeYxPV4gs2jvOl/rV+/6vY=";
hash = "sha256-7H6fpJl192L8MEWrQW89Fa/BTZ2GZXjDRcy0yc17hDI=";
};
propagatedBuildInputs = [

View File

@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "tubeup";
version = "0.0.27";
version = "0.0.28";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "77affb4105fc319d82c56aa5706151a4976b8b504dd252fe3db01443e27cba50";
sha256 = "sha256-+RvDwOHL+zwpM/nOWWS7pZIFEOx+jMrgt3FLYSshANo=";
};
postPatch = ''

View File

@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "types-freezegun";
version = "1.1.8";
version = "1.1.9";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-9LsIxUqkaBbHehtceipU9Tk8POWOfUAC5n+QgbQR6SE=";
hash = "sha256-bwUQjUaLrsrfmZhzvTfleyXOs1010/g+enQvJdb+iw4=";
};
# Module doesn't have tests

View File

@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "types-toml";
version = "0.10.4";
version = "0.10.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-k0DnwVh3FVgbsTkFs68wt5/mivrM/KN3Zl1eY7aUEpo=";
sha256 = "sha256-+UlGOjiCAL45Lvk5nbrT4eO75tRUPYStk9lsP9oCgIA=";
};
# Module doesn't have tests

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "quick-lint-js";
version = "2.3.1";
version = "2.4.0";
src = fetchFromGitHub {
owner = "quick-lint";
repo = "quick-lint-js";
rev = version;
sha256 = "sha256-3DiK7c+RuCIy9B2j6ozSaVIRf63o9S8uH27SZZJHjes=";
sha256 = "122z6wnmf5lk6pvwj5065470kvkbb8jqc32x0nw6103fnak5cyih";
};
nativeBuildInputs = [ cmake ninja ];

View File

@ -4,13 +4,13 @@ let
in
stdenv.mkDerivation rec {
pname = "sumneko-lua-language-server";
version = "2.6.7";
version = "3.1.0";
src = fetchFromGitHub {
owner = "sumneko";
repo = "lua-language-server";
rev = version;
sha256 = "sha256-m9vtopRjxT9Re8pDdzfFUpg3zYAFE8zqFemgaNAbsvM=";
sha256 = "sha256-P0ga7uXwxkihpuLdjT1VNbuspbYpOh3+U60u1Blppo4=";
fetchSubmodules = true;
};
@ -73,10 +73,10 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
description = "Lua Language Server coded by Lua ";
description = "Lua Language Server coded by Lua";
homepage = "https://github.com/sumneko/lua-language-server";
license = licenses.mit;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ sei40kr ];
platforms = platforms.linux ++ platforms.darwin;
mainProgram = "lua-language-server";
};

View File

@ -2,25 +2,28 @@
rustPlatform.buildRustPackage rec {
pname = "wiki-tui";
version = "0.4.5";
version = "0.4.7";
src = fetchFromGitHub {
owner = "Builditluc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-IMNHsmL1L+zfGxfdTxJ4HBGiQOzWmYVE0P3ZInbMVl0=";
sha256 = "sha256-qoj5rg0YeBWQuU/HU84wOSG9y9p4Q1DFbqsh61mYnUc=";
};
buildInputs = [ ncurses openssl ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkg-config ];
cargoSha256 = "sha256-Q8Xl6L41cDeDN370owAAL9xZhdyUuDKrPlZxG3eg87c=";
cargoSha256 = "sha256-btSWvlObvn08cAWVMM4R0aciYz8swRFZjX+WDhALj3M=";
# Tests fail with this error: `found argument --test-threads which was not expected`
doCheck = false;
meta = with lib; {
description = "A simple and easy to use Wikipedia Text User Interface";
homepage = "https://github.com/builditluc/wiki-tui";
license = licenses.mit;
maintainers = with maintainers; [ lom ];
maintainers = with maintainers; [ lom builditluc ];
};
}

View File

@ -74,7 +74,10 @@ buildBazelPackage rec {
];
fetchAttrs = {
sha256 = "0f7mls2zrpjjvbz6pgkzrvr55bv05xn2l76j9i1r0cf367qqfkz8";
sha256 = {
x86_64-linux = "0f7mls2zrpjjvbz6pgkzrvr55bv05xn2l76j9i1r0cf367qqfkz8";
aarch64-linux = "1l3ls47z20xrw6x9qps5jm7vq50xb1acv9gczfdrj9hw6jybgwgg";
}.${stdenv.system} or (throw "unsupported system ${stdenv.system}");
dontUseCmakeConfigure = true;
dontUseGnConfigure = true;
preInstall = ''
@ -124,6 +127,7 @@ buildBazelPackage rec {
"--noexperimental_strict_action_env"
"--cxxopt=-Wno-maybe-uninitialized"
"--cxxopt=-Wno-uninitialized"
"--cxxopt=-Wno-error=type-limits"
];
passthru.tests = {
@ -137,6 +141,6 @@ buildBazelPackage rec {
description = "Cloud-native edge and service proxy";
license = licenses.asl20;
maintainers = with maintainers; [ lukegb ];
platforms = [ "x86_64-linux" ]; # Other platforms will generate different fetch hashes.
platforms = [ "x86_64-linux" "aarch64-linux" ];
};
}

View File

@ -86,6 +86,6 @@ buildGoModule rec {
description = "Authenticating reverse proxy";
license = licenses.asl20;
maintainers = with maintainers; [ lukegb ];
platforms = [ "x86_64-linux" ]; # Envoy derivation is x86_64-linux only.
platforms = [ "x86_64-linux" "aarch64-linux" ];
};
}

View File

@ -2,18 +2,18 @@
buildGoModule rec {
pname = "mautrix-whatsapp";
version = "0.3.0";
version = "0.3.1";
src = fetchFromGitHub {
owner = "mautrix";
repo = "whatsapp";
rev = "v${version}";
sha256 = "M44APMnpQU+9TTJu4NF528o0JvGvWja4H7XUcAHtxrA=";
sha256 = "adsGPVG/EwpzOqhFJvn3anjTXwGY27a7Bc4NNkBeqJk=";
};
buildInputs = [ olm ];
vendorSha256 = "o3KTcnMd6Tqt9QIfW29wvN8POIFThNg8AdeGDF5wbVc=";
vendorSha256 = "WT8oDtmUFrqfNK/RnEv8+jpGuQEGt+ppjtmcfUGYZv0=";
doCheck = false;

View File

@ -1,18 +1,20 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "fsql";
version = "0.3.1";
goPackagePath = "github.com/kshvmdn/fsql";
version = "0.4.0";
src = fetchFromGitHub {
owner = "kshvmdn";
repo = "fsql";
rev = "v${version}";
sha256 = "1accpxryk4744ydfrqc3la5k376ji11yr84n66dz5cx0f3n71vmz";
sha256 = "sha256-/9X1ag18epFjEfB+TbRsHPCZRZblV0ohvDlZ523kXXc=";
};
vendorSha256 = "sha256-h75iQSpHZqc0QNOZWHU1l6xsHB8ClfWXYo1jVMzX72Q=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Search through your filesystem with SQL-esque queries";
homepage = "https://github.com/kshvmdn/fsql";
@ -20,5 +22,4 @@ buildGoPackage rec {
maintainers = with maintainers; [ pSub ];
platforms = platforms.unix;
};
}

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "goreleaser";
version = "1.7.0";
version = "1.8.1";
src = fetchFromGitHub {
owner = "goreleaser";
repo = pname;
rev = "v${version}";
sha256 = "sha256-vTik6KFOkKOik78/H0hvAv6xI+QSALOHD4N6befPaT4=";
sha256 = "sha256-P4F/5n08vony4ed9o62NCK0UXjpRo+jjadQK1ke0Tl0=";
};
vendorSha256 = "sha256-ujtgcH5EF+PZAD/1Y0+yI4m7y2hNJ3w4KB2pvKbdgsU=";
vendorSha256 = "sha256-UAApPni4zIAQVOmPAah5vEE8kTrGaJ3irjtsukBNVHo=";
ldflags = [
"-s"
@ -26,7 +26,7 @@ buildGoModule rec {
meta = with lib; {
description = "Deliver Go binaries as fast and easily as possible";
homepage = "https://goreleaser.com";
maintainers = with maintainers; [ c0deaddict endocrimes sarcasticadmin ];
maintainers = with maintainers; [ c0deaddict endocrimes sarcasticadmin techknowlogick ];
license = licenses.mit;
};
}

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "godns";
version = "2.7.3";
version = "2.7.4";
src = fetchFromGitHub {
owner = "TimothyYe";
repo = "godns";
rev = "v${version}";
sha256 = "sha256-4QWcccJHvytZmWZJnPcI8W6pQCWgXz0FkTe8sX54Cbk=";
sha256 = "sha256-0aE+XcRqk/3/auscVdqdzehrpM6CeSdAJTugHXY8rek=";
};
vendorSha256 = "sha256-vhByl9oJjFIvOskAgLubZ5RCcitKd2jjxi8D9nU6850=";

View File

@ -5736,6 +5736,8 @@ with pkgs;
uniscribe = callPackage ../tools/text/uniscribe { };
calcoo = callPackage ../applications/misc/calcoo { };
galculator = callPackage ../applications/misc/galculator {
gtk = gtk3;
};
@ -21308,7 +21310,7 @@ with pkgs;
engelsystem = callPackage ../servers/web-apps/engelsystem { php = php74; };
envoy = callPackage ../servers/http/envoy {
jdk = openjdk11;
jdk = openjdk11_headless;
gn = gn1924;
};
@ -29372,6 +29374,8 @@ with pkgs;
syncplay = python3.pkgs.callPackage ../applications/networking/syncplay { };
syncplay-nogui = syncplay.override { enableGUI = false; };
syncterm = callPackage ../applications/terminal-emulators/syncterm { };
inherit (callPackages ../applications/networking/syncthing { })