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 Apr 8, 2023
2 parents 5c10f40 + 2e7d54c commit 75e19b9
Show file tree
Hide file tree
Showing 74 changed files with 9,137 additions and 5,338 deletions.
12 changes: 12 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9449,6 +9449,12 @@
githubId = 43853194;
name = "Matheus Vieira";
};
mathiassven = {
email = "[email protected]";
github = "MathiasSven";
githubId = 24759037;
name = "Mathias Sven";
};
mathnerd314 = {
email = "[email protected]";
github = "Mathnerd314";
Expand Down Expand Up @@ -17119,6 +17125,12 @@
githubId = 20029431;
name = "Zyansheep";
};
zygot = {
email = "[email protected]";
github = "stefan-bordei";
githubId = 71881325;
name = "Stefan Bordei";
};
zzamboni = {
email = "[email protected]";
github = "zzamboni";
Expand Down
1 change: 1 addition & 0 deletions maintainers/scripts/haskell/update-stackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ sed -r \
-e 's|^constraints:||' \
-e 's|^ +| - |' \
-e 's|,$||' \
-e '/^with-compiler:/d' \
-e '/installed$/d' \
-e '/^$/d' \
< "${tmpfile}" | sort --ignore-case >"${tmpfile_new}"
Expand Down
2 changes: 2 additions & 0 deletions nixos/tests/libreswan.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ in
with subtest("Network is up"):
alice.wait_until_succeeds("ping -c1 bob")
alice.succeed("systemctl restart ipsec")
bob.succeed("systemctl restart ipsec")
with subtest("Eve can eavesdrop cleartext traffic"):
eavesdrop()
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/editors/android-studio/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ in runCommand
canary = [ alapshin ];
dev = canary;
}."${channel}";
mainProgram = pname;
};
}
''
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/misc/blender/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ stdenv.mkDerivation rec {
pythonPath = with python310Packages; [ numpy requests ];

postPatch = ''
# allow usage of dynamically linked embree
rm build_files/cmake/Modules/FindEmbree.cmake
'' +
(if stdenv.isDarwin then ''
: > build_files/cmake/platform/platform_apple_xcode.cmake
Expand Down
4 changes: 4 additions & 0 deletions pkgs/applications/misc/fuzzel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
hash = "sha256-Va/Rm35jqxDlIfQdrpZ41qrW8YzWmm1LWra76AW1xUw=";
};

depsBuildBuild = [
pkg-config
];

nativeBuildInputs = [
pkg-config
wayland-scanner
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/lagrange/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "lagrange";
version = "1.15.7";
version = "1.15.8";

src = fetchFromGitHub {
owner = "skyjake";
repo = "lagrange";
rev = "v${finalAttrs.version}";
hash = "sha256-p6L2Ak8QaRsSs2/Xjbbod9UFy79vjO5C+YcArofe2Ck=";
hash = "sha256-zfwuFa309JysFMueFbtnt/7LyCCoXKhIIiFwJY/lIZc=";
};

nativeBuildInputs = [ cmake pkg-config zip ];
Expand Down
6 changes: 4 additions & 2 deletions pkgs/applications/networking/browsers/librewolf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
let
librewolf-src = callPackage ./librewolf.nix { };
in
(buildMozillaMach rec {
((buildMozillaMach rec {
pname = "librewolf";
applicationName = "LibreWolf";
binaryName = "librewolf";
Expand All @@ -30,4 +30,6 @@ in
crashreporterSupport = false;
enableOfficialBranding = false;
pgoSupport = false; # Profiling gets stuck and doesn't terminate.
}
}).overrideAttrs (prev: {
MOZ_REQUIRE_SIGNING = "";
})
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,11 @@ stdenv.mkDerivation rec {
APULSE_PLAYBACK_DEVICE="\''${APULSE_PLAYBACK_DEVICE:-plug:dmix}" \
\
TOR_SKIP_LAUNCH="\''${TOR_SKIP_LAUNCH:-}" \
TOR_CONTROL_HOST="\''${TOR_CONTROL_HOST:-}" \
TOR_CONTROL_PORT="\''${TOR_CONTROL_PORT:-}" \
TOR_CONTROL_COOKIE_AUTH_FILE="\''${TOR_CONTROL_COOKIE_AUTH_FILE:-}" \
TOR_CONTROL_PASSWD="\''${TOR_CONTROL_PASSWD:-}" \
TOR_SOCKS_HOST="\''${TOR_SOCKS_HOST:-}" \
TOR_SOCKS_PORT="\''${TOR_SOCKS_PORT:-}" \
\
FONTCONFIG_FILE="$FONTCONFIG_FILE" \
Expand Down
27 changes: 27 additions & 0 deletions pkgs/applications/networking/cluster/rke2/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
pname = "rke2";
version = "1.26.3+rke2r1";

src = fetchFromGitHub {
owner = "rancher";
repo = pname;
rev = "v${version}";
hash = "sha256-MC3INsuXV2JmazdXOAAslFlApvql6uOnOkWV8u0diOw=";
};

vendorHash = "sha256-W9Phc1JYa3APAKvI34RWqMy4xfmwgX3BaOh4bQYFEnU=";

subPackages = [ "." ];

ldflags = [ "-s" "-w" "-X github.com/k3s-io/k3s/pkg/version.Version=v${version}" ];

meta = with lib; {
homepage = "https://github.com/rancher/rke2";
description = "RKE2, also known as RKE Government, is Rancher's next-generation Kubernetes distribution.";
changelog = "https://github.com/rancher/rke2/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ zygot ];
};
}
1 change: 1 addition & 0 deletions pkgs/applications/networking/syncplay/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ buildPythonApplication rec {
sha256 = "0qm3qn4a1nahhs7q81liz514n9blsi107g9s9xfw2i8pzi7v9v0v";
};

buildInputs = lib.optionals enableGUI [ qt5.qtbase ];
propagatedBuildInputs = [ twisted certifi ]
++ twisted.optional-dependencies.tls
++ lib.optional enableGUI pyside2;
Expand Down
10 changes: 9 additions & 1 deletion pkgs/applications/science/logic/tamarin-prover/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ haskellPackages, mkDerivation, fetchFromGitHub, lib, stdenv
{ haskellPackages, mkDerivation, fetchFromGitHub, fetchpatch, lib, stdenv
# the following are non-haskell dependencies
, makeWrapper, which, maude, graphviz, glibcLocales
}:
Expand Down Expand Up @@ -67,6 +67,14 @@ mkDerivation (common "tamarin-prover" src // {
isLibrary = false;
isExecutable = true;

patches = [
# Backport of https://github.com/tamarin-prover/tamarin-prover/pull/536 to 1.6.1
(fetchpatch {
url = "https://github.com/tamarin-prover/tamarin-prover/commit/95fbace0c5cbea57b5f320f6bb4d0387a4beab8d.patch";
sha256 = "sha256-Wjf7C208kcskEN1op//HQZnhoZopKQS42JvE8kV5NhI=";
})
];

# strip out unneeded deps manually
doHaddock = false;
enableSharedExecutables = false;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/version-management/gh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

buildGoModule rec {
pname = "gh";
version = "2.26.1";
version = "2.27.0";

src = fetchFromGitHub {
owner = "cli";
repo = "cli";
rev = "v${version}";
hash = "sha256-ECYUpbzZXEJv0r9q66kLpUtp1gbgSeXdb3p4vHWIIk4=";
hash = "sha256-WjKHV/GfoPFRTKUJy7ht1H6zbt+EqJk6e9ysjaAkelw=";
};

vendorHash = "sha256-+8/cA0UxyVu7nyLhHYBWmn8Vs0O/EYepqTAOVU4gwt4=";
Expand Down
28 changes: 20 additions & 8 deletions pkgs/applications/version-management/mercurial/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, python3Packages, makeWrapper, gettext, installShellFiles
{ lib, stdenv, fetchurl, fetchpatch, python3Packages, makeWrapper, gettext, installShellFiles
, re2Support ? true
, rustSupport ? stdenv.hostPlatform.isLinux, rustPlatform
, fullBuild ? false
Expand All @@ -21,11 +21,11 @@ let

self = python3Packages.buildPythonApplication rec {
pname = "mercurial${lib.optionalString fullBuild "-full"}";
version = "6.3.3";
version = "6.4";

src = fetchurl {
url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz";
sha256 = "sha256-E8l/9YnHYF6ApIjzNoUs4dU4xdQUPPszvmm9rd2RV70=";
sha256 = "sha256-6Iv7y5kR52kEoxuXLlf4bajmzliSuYw53VHTuVmcE0c=";
};

format = "other";
Expand All @@ -35,7 +35,7 @@ let
cargoDeps = if rustSupport then rustPlatform.fetchCargoTarball {
inherit src;
name = "mercurial-${version}";
sha256 = "sha256-ZQYNFEbvSwiJ/BSQ0ZxpjFrmyXkKjVJciwz45Br7Rl8=";
sha256 = "sha256-jgB9UMuZ9v+euGN2LPzg0vNK0KeEa8GpQxLJYgQzzbw=";
sourceRoot = "mercurial-${version}/rust";
} else null;
cargoRoot = if rustSupport then "rust" else null;
Expand Down Expand Up @@ -110,6 +110,22 @@ let
gnupg
];

patches = [
# remove dependency over packaging for test runner
# https://bz.mercurial-scm.org/show_bug.cgi?id=6805
(fetchpatch {
url = "https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/5e5e3733082a25856038f0fde66d4e08d8881539.patch";
hash = "sha256-JNxESWpWZW3AENz57tNJTV/ALnJjkmG1ZnTWSvTr4qY=";
})

# sligthly different test output matching
# https://bz.mercurial-scm.org/show_bug.cgi?id=6807
(fetchpatch {
url = "https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/2231f7d8a60266bb6907b1708400c970ed799017.patch";
hash = "sha256-Lm5qXvM9nbmTpuMuvDoWhY4cQQQN7PFZtmu5e7mQVw4=";
})
];

postPatch = ''
patchShebangs .
Expand Down Expand Up @@ -149,10 +165,6 @@ let
# doesn't like the extra setlocale warnings emitted by our bash wrappers
test-locale.t
# Python 3.10-3.12 deprecation warning: distutils
# https://bz.mercurial-scm.org/show_bug.cgi?id=6729
test-hghave.t
# Python 3.10-3.12 deprecation warning: asyncore
# https://bz.mercurial-scm.org/show_bug.cgi?id=6727
test-patchbomb-tls.t
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/mkvtoolnix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ let
in
stdenv.mkDerivation rec {
pname = "mkvtoolnix";
version = "74.0.0";
version = "75.0.0";

src = fetchFromGitLab {
owner = "mbunkus";
repo = "mkvtoolnix";
rev = "release-${version}";
sha256 = "sha256-p8rIAHSqYCOlNbuxisQlIkMh2OArc+MOYn1kgC5kJsc=";
sha256 = "c3I2ULSvKBTYIm1chVHPkaV0TxblLglBjzeUJ5TRmGw=";
};

nativeBuildInputs = [
Expand Down
5 changes: 5 additions & 0 deletions pkgs/build-support/fetchurl/mirrors.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
"http://bioconductor.jp/packages/"
];

# CRAN mirrors
cran = [
"https://cran.r-project.org/src/contrib/"
];

# BitlBee mirrors, see https://www.bitlbee.org/main.php/mirrors.html
bitlbee = [
"https://get.bitlbee.org/"
Expand Down
8 changes: 4 additions & 4 deletions pkgs/data/misc/hackage/pin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "4a67d2eace63deeaec7dd3553d04e892b39b63a7",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/4a67d2eace63deeaec7dd3553d04e892b39b63a7.tar.gz",
"sha256": "12y659k8qs0rnajcfdwwwwz5ywcnf3ygxi2kmv8b31x4znll1gfs",
"msg": "Update from Hackage at 2023-03-13T08:59:39Z"
"commit": "cf82f82661a5662581a4385c693552b18009b7e2",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/cf82f82661a5662581a4385c693552b18009b7e2.tar.gz",
"sha256": "0wwyikl44dg5x6hirxxqdzbh4ixkpxknd4c0nacsc2mqpjm1wrwq",
"msg": "Update from Hackage at 2023-04-03T07:13:26Z"
}
51 changes: 40 additions & 11 deletions pkgs/development/compilers/abcl/default.nix
Original file line number Diff line number Diff line change
@@ -1,38 +1,67 @@
{lib, stdenv, fetchurl, ant, jre, jdk}:
{ stdenv
, lib
, fetchurl
, ant
, jre
, jdk
, makeWrapper
}:

stdenv.mkDerivation rec {
pname = "abcl";
version = "1.9.1";
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)

src = fetchurl {
url = "https://common-lisp.net/project/armedbear/releases/${version}/${pname}-src-${version}.tar.gz";
sha256 = "sha256-pbxnfJRB9KgzwgpUG93Rb/+SZIRmkd6aHa9mmfj/EeI=";
};

configurePhase = ''
runHook preConfigure
mkdir nix-tools
export PATH="$PWD/nix-tools:$PATH"
echo "echo nix-builder.localdomain" > nix-tools/hostname
chmod a+x nix-tools/*
hostname
runHook postConfigure
'';

buildInputs = [ jre ant jdk jre ];

nativeBuildInputs = [ makeWrapper ];

buildPhase = ''
runHook preBuild
ant
runHook postBuild
'';
# Fix for https://github.com/armedbear/abcl/issues/484
javaOpts =
lib.optionalString
(lib.versionAtLeast jre.version "17")
"--add-opens=java.base/java.util.jar=ALL-UNNAMED";

installPhase = ''
runHook preInstall
mkdir -p "$out"/{bin,share/doc/abcl,lib/abcl}
cp -r README COPYING CHANGES examples/ "$out/share/doc/abcl/"
cp -r dist/*.jar contrib/ "$out/lib/abcl/"
echo "#! ${stdenv.shell}" >> "$out/bin/abcl"
echo "${jre}/bin/java $javaOpts -cp \"$out/lib/abcl/abcl.jar:$out/lib/abcl/abcl-contrib.jar:\$CLASSPATH\" org.armedbear.lisp.Main \"\$@\"" >> "$out/bin/abcl"
chmod a+x "$out"/bin/*
makeWrapper ${jre}/bin/java $out/bin/abcl \
--prefix CLASSPATH : $out/lib/abcl/abcl.jar \
--prefix CLASSPATH : $out/lib/abcl/abcl-contrib.jar \
${lib.optionalString (lib.versionAtLeast jre.version "17")
# Fix for https://github.com/armedbear/abcl/issues/484
"--add-flags --add-opens=java.base/java.util.jar=ALL-UNNAMED \\"
}
--add-flags org.armedbear.lisp.Main
runHook postInstall
'';
buildInputs = [jre ant jdk jre];

passthru.updateScript = ./update.sh;

meta = {
description = "A JVM-based Common Lisp implementation";
license = lib.licenses.gpl3 ;
Expand Down
5 changes: 5 additions & 0 deletions pkgs/development/compilers/abcl/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update curl

new_version=$(curl https://armedbear.common-lisp.dev/ | grep abcl-src | sed 's;[^>]*>abcl-src-\(.*\).tar[^$]*;\1;' | head -n 1)
nix-update abcl --version "$new_version"
6 changes: 3 additions & 3 deletions pkgs/development/compilers/ghc/head.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ./common-hadrian.nix {
version = "9.7.20230217";
rev = "a203ad854ffee802e6bf0aca26e6c9a99bec3865";
sha256 = "06q6l7svdynvdv90yz6dxbsk3j5c8gh5ghwfl02rdwamcrzw7zic";
version = "9.7.20230406";
rev = "04b80850c535fa8c11f435711577296a99499105";
sha256 = "190fpgg8sbcfp2l62vaqhk3wddkbz8vf5ivd7hw5gkcyyn5px3q9";
}
Loading

0 comments on commit 75e19b9

Please sign in to comment.