Merge master into staging-next

authored by github-actions[bot] and committed by GitHub eef7dee5 95fb30e5

+243 -31
+1 -1
nixos/tests/fenics.nix
··· 44 44 { nodes, ... }: 45 45 '' 46 46 start_all() 47 - node1.succeed("${fenicsScript}") 47 + fenicsnode.succeed("${fenicsScript}") 48 48 ''; 49 49 })
+97
pkgs/applications/graphics/unigine-sanctuary/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , makeWrapper 5 + , autoPatchelfHook 6 + , libX11 7 + , libXext 8 + , libXrandr 9 + , libXinerama 10 + , libglvnd 11 + , openal 12 + , glibc 13 + , makeDesktopItem 14 + , copyDesktopItems 15 + , imagemagick 16 + , liberation_ttf 17 + }: 18 + stdenv.mkDerivation rec{ 19 + pname = "unigine-sanctuary"; 20 + version = "2.3"; 21 + 22 + src = fetchurl { 23 + url = "https://m12-assets.unigine.com/d/Unigine_Sanctuary-${version}.run"; 24 + sha256 = "1m9r79q33hx213zg3c2kknnc7hi8jp2h88s9qynny4k4rg8vpa18"; 25 + }; 26 + 27 + libPath = lib.makeLibraryPath [ 28 + libglvnd 29 + openal 30 + glibc 31 + ]; 32 + 33 + installPhase = '' 34 + bash $src --target ${pname}-${version} 35 + 36 + install -D -m 0755 ${pname}-${version}/bin/libUnigine_x86.so $out/lib/unigine/sanctuary/bin/libUnigine_x86.so 37 + install -D -m 0755 ${pname}-${version}/bin/Sanctuary $out/lib/unigine/sanctuary/bin/Sanctuary 38 + install -D -m 0755 ${pname}-${version}/1024x768_windowed.sh $out/bin/Sanctuary 39 + 40 + cp -R ${pname}-${version}/data $out/lib/unigine/sanctuary 41 + 42 + wrapProgram $out/bin/Sanctuary \ 43 + --prefix LD_LIBRARY_PATH : ${libPath}:$out/lib/unigine/sanctuary/bin \ 44 + --run "cd $out/lib/unigine/sanctuary" 45 + 46 + convert -size 256x256 xc:Transparent -define gradient:center="128,128" -define gradient:vector="128,128 128,128" \ 47 + -define gradient:radii="128,128" -fill radial-gradient:'rgb(164,0,0)-rgb(67,1,3)' \ 48 + -draw "roundRectangle 0,0 256,256 50,50" ${pname}-${version}/icon.png 49 + convert ${pname}-${version}/icon.png -size 181.991x181.991 -font ${liberation_ttf}/share/fonts/truetype/LiberationSans-Regular.ttf \ 50 + -pointsize 181.991 -define gradient:center="128,128" -define gradient:vector="128,128 128,128" \ 51 + -define gradient:radii="46.6974,46.6974" -fill radial-gradient:'rgb(249,197,46)-rgb(218,144,31)' \ 52 + -stroke none -strokewidth 4.54977 -draw 'text 69.3061,194.247 "S"' ${pname}-${version}/icon.png 53 + 54 + for RES in 16 24 32 48 64 128 256; do 55 + mkdir -p $out/share/icons/hicolor/"$RES"x"$RES"/apps 56 + convert ${pname}-${version}/icon.png -resize "$RES"x"$RES" $out/share/icons/hicolor/"$RES"x"$RES"/apps/Sanctuary.png 57 + done 58 + convert ${pname}-${version}/icon.png -resize 128x128 $out/share/icons/Sanctuary.png 59 + 60 + runHook postInstall 61 + ''; 62 + 63 + desktopItems = [ 64 + (makeDesktopItem { 65 + name = "Sanctuary"; 66 + exec = "Sanctuary"; 67 + genericName = "A GPU Stress test tool from the UNIGINE"; 68 + icon = "Sanctuary"; 69 + desktopName = "Sanctuary Benchmark"; 70 + }) 71 + ]; 72 + 73 + nativeBuildInputs = [ 74 + autoPatchelfHook 75 + makeWrapper 76 + imagemagick 77 + copyDesktopItems 78 + ]; 79 + 80 + buildInputs = [ 81 + stdenv.cc.cc 82 + libX11 83 + libXext 84 + libXrandr 85 + libXinerama 86 + ]; 87 + 88 + dontUnpack = true; 89 + 90 + meta = { 91 + description = "The Unigine Heaven GPU benchmarking tool"; 92 + homepage = "https://benchmark.unigine.com/sanctuary"; 93 + license = lib.licenses.unfree; 94 + maintainers = [ lib.maintainers.BarinovMaxim ]; 95 + platforms = [ "x86_64-linux" "i686-linux" ]; 96 + }; 97 + }
+2 -2
pkgs/applications/networking/browsers/brave/default.nix
··· 93 93 94 94 stdenv.mkDerivation rec { 95 95 pname = "brave"; 96 - version = "1.37.109"; 96 + version = "1.37.113"; 97 97 98 98 src = fetchurl { 99 99 url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; 100 - sha256 = "fL3vuCqUnzq38JD0bzM/DxLVb5P31iChbMVY2eax9RE="; 100 + sha256 = "YjLUDoVrZitJEQOfoM/YmD55OOL/K3KF9v76zjguQHM="; 101 101 }; 102 102 103 103 dontConfigure = true;
+3 -1
pkgs/development/libraries/boost/generic.nix
··· 84 84 # TODO: make this unconditional 85 85 ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 86 86 "address-model=${toString stdenv.hostPlatform.parsed.cpu.bits}" 87 - "architecture=${if stdenv.hostPlatform.isMips64 then "mips64" else toString stdenv.hostPlatform.parsed.cpu.family}" 87 + "architecture=${if stdenv.hostPlatform.isMips64 88 + then if versionOlder version "1.78" then "mips1" else "mips" 89 + else toString stdenv.hostPlatform.parsed.cpu.family}" 88 90 "binary-format=${toString stdenv.hostPlatform.parsed.kernel.execFormat.name}" 89 91 "target-os=${toString stdenv.hostPlatform.parsed.kernel.name}" 90 92
+30
pkgs/development/libraries/jellyfin-ffmpeg/default.nix
··· 1 + { ffmpeg_4, ffmpeg-full, fetchFromGitHub, lib }: 2 + 3 + (ffmpeg-full.override { ffmpeg = ffmpeg_4; }).overrideAttrs (old: rec { 4 + name = "jellyfin-ffmpeg"; 5 + version = "4.4.1-4"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jellyfin"; 9 + repo = "jellyfin-ffmpeg"; 10 + rev = "v${version}"; 11 + sha256 = "0y7iskamlx30f0zknbscpi308y685nbnbf5gr9cj1znr5dlfb0bn"; 12 + }; 13 + 14 + postPatch = '' 15 + for file in $(cat debian/patches/series); do 16 + patch -p1 < debian/patches/$file 17 + done 18 + 19 + ${old.postPatch or ""} 20 + ''; 21 + 22 + doCheck = false; # https://github.com/jellyfin/jellyfin-ffmpeg/issues/79 23 + 24 + meta = with lib; { 25 + description = "${old.meta.description} (Jellyfin fork)"; 26 + homepage = "https://github.com/jellyfin/jellyfin-ffmpeg"; 27 + license = licenses.gpl3; 28 + maintainers = with maintainers; [ justinas ]; 29 + }; 30 + })
+2 -2
pkgs/development/libraries/science/math/fenics/default.nix
··· 243 243 export CMAKE_PREFIX_PATH=${pybind11}/share/cmake/pybind11:$CMAKE_PREFIX_PATH 244 244 substituteInPlace setup.py --replace "pybind11==2.2.4" "pybind11" 245 245 substituteInPlace dolfin/jit/jit.py \ 246 - --replace 'pkg-config.exists("dolfin")' 'pkg-config.exists("${dolfin}/lib/pkgconfig/dolfin.pc")' \ 247 - --replace 'pkg-config.parse("dolfin")' 'pkg-config.parse("${dolfin}/lib/pkgconfig/dolfin.pc")' 246 + --replace 'pkgconfig.exists("dolfin")' 'pkgconfig.exists("${dolfin}/lib/pkgconfig/dolfin.pc")' \ 247 + --replace 'pkgconfig.parse("dolfin")' 'pkgconfig.parse("${dolfin}/lib/pkgconfig/dolfin.pc")' 248 248 ''; 249 249 buildInputs = [ 250 250 dolfin
+30
pkgs/development/libraries/tomlc99/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "tomlc99"; 8 + version = "0.pre+date=2022-04-04"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "cktan"; 12 + repo = pname; 13 + rev = "4e7b082ccc44316f212597ae5b09a35cf9329e69"; 14 + hash = "sha256-R9OBMG/aUa80Qw/zqaks63F9ybQcThfOYRsHP4t1Gv8="; 15 + }; 16 + 17 + dontConfigure = true; 18 + 19 + installFlags = [ 20 + "prefix=${placeholder "out"}" 21 + ]; 22 + 23 + meta = with lib; { 24 + homepage = "https://github.com/cktan/tomlc99"; 25 + description = "TOML v1.0.0-compliant library written in C99"; 26 + license = licenses.mit; 27 + maintainers = with maintainers; [ AndersonTorres ]; 28 + platforms = with platforms; unix; 29 + }; 30 + }
+15
pkgs/development/libraries/tomlcpp/0001-missing-headers.diff
··· 1 + diff -Naur old-source/tomlcpp.hpp new-source/tomlcpp.hpp 2 + --- tomlcpp/tomlcpp.hpp 1969-12-31 21:00:01.000000000 -0300 3 + +++ tomlcpp/tomlcpp.hpp 2022-04-14 12:50:14.269775437 -0300 4 + @@ -25,6 +25,11 @@ 5 + #ifndef TOML_HPP 6 + #define TOML_HPP 7 + 8 + +#include <memory> 9 + +#include <string> 10 + +#include <utility> 11 + +#include <vector> 12 + + 13 + struct toml_table_t; 14 + struct toml_array_t; 15 +
+35
pkgs/development/libraries/tomlcpp/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "tomlcpp"; 8 + version = "0.pre+date=2022-05-01"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "cktan"; 12 + repo = pname; 13 + rev = "59fcc6dc89fb3f4130a2865e41e1fa5b8c502e45"; 14 + hash = "sha256-Uc6R5KnGIZXY0EJgFM4Xi7Jtxcu6l8yGh5xgFZPoJDM="; 15 + }; 16 + 17 + patches = [ 18 + # Self-explaining 19 + ./0001-missing-headers.diff 20 + ]; 21 + 22 + dontConfigure = true; 23 + 24 + installFlags = [ 25 + "prefix=${placeholder "out"}" 26 + ]; 27 + 28 + meta = with lib;{ 29 + homepage = "https://github.com/cktan/tomlcpp"; 30 + description = "No fanfare TOML C++ Library"; 31 + license = licenses.mit; 32 + maintainers = with maintainers; [ AndersonTorres ]; 33 + platforms = with platforms; unix; 34 + }; 35 + }
+4
pkgs/development/python-modules/libcst/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , dataclasses 4 5 , fetchFromGitHub 5 6 , hypothesis 7 + , libiconv 6 8 , pytestCheckHook 7 9 , python 8 10 , pythonOlder ··· 50 52 setuptools-scm 51 53 rustPlatform.cargoSetupHook 52 54 ] ++ (with rustPlatform; [ rust.cargo rust.rustc ]); 55 + 56 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; 53 57 54 58 propagatedBuildInputs = [ 55 59 hypothesis
+1 -5
pkgs/development/python-modules/mutagen/default.nix
··· 25 25 sha256 = "6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1"; 26 26 }; 27 27 28 - outputs = [ 29 - "doc" 30 - "out" 31 - ]; 28 + outputs = [ "out" "doc" ]; 32 29 33 30 nativeBuildInputs = [ 34 31 sphinx ··· 69 66 homepage = "https://mutagen.readthedocs.io"; 70 67 changelog = "https://mutagen.readthedocs.io/en/latest/changelog.html#release-${lib.replaceStrings [ "." ] [ "-" ] version}"; 71 68 license = licenses.gpl2Plus; 72 - platforms = platforms.all; 73 69 }; 74 70 }
+2 -2
pkgs/development/python-modules/srsly/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "srsly"; 15 - version = "2.4.2"; 15 + version = "2.4.3"; 16 16 17 17 disabled = pythonOlder "3.6"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-KrolIpJ2eHUIat9OQ4DiewJNc2VUVveW+OB+s6TfrMA="; 21 + hash = "sha256-2+kfbdSuqegZSTYoNW3HFb2cYGSGKXu3yldI5uADhBw="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ cython ];
+4 -12
pkgs/development/tools/gron/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, fetchpatch }: 1 + { lib, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "gron"; 5 - version = "0.6.1"; 5 + version = "0.7.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tomnomnom"; 9 9 repo = "gron"; 10 10 rev = "v${version}"; 11 - sha256 = "0qmzawkhg0qn9kxxrssbdjni2khvamhrcklv3yxc0ljmh77mh61m"; 11 + sha256 = "sha256-ZkAfAQsaFX7npyDcBDFS4Xa8kOMVH6yGfxGD7c0iQ+o="; 12 12 }; 13 13 14 - patches = [ 15 - (fetchpatch { 16 - name = "fix-inconsistent-vendoring.patch"; 17 - url = "https://github.com/tomnomnom/gron/pull/85/commits/d549a6cb68ed0e0ec7cc81d8275353acfe218725.patch"; 18 - sha256 = "1461v4f7w6q75l3988br0g1ynfhzsh34z38pd2w8fp57vrgkcfi5"; 19 - }) 20 - ]; 21 - 22 - vendorSha256 = "sha256-Evn5R/LzripRgG0zOVP/DJrtjwNRwgKapsRdtZaZhlU="; 14 + vendorSha256 = "sha256-K/QAG9mCIHe7PQhex3TntlGYAK9l0bESWk616N97dBs="; 23 15 24 16 meta = with lib; { 25 17 description = "Make JSON greppable!";
+3 -3
pkgs/tools/backup/kopia/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kopia"; 5 - version = "0.10.6"; 5 + version = "0.10.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = pname; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-lyCTKjimVZkpXKVeDNn0e9E6FkDp7fUl3cYnn5W5A7o="; 11 + sha256 = "sha256-f1wJuQGwDQAGPYRacvrMs4uSiUdaMCXkRnZYhkA3/JI="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-p+hK662WoO98J/uE3B9X1GvpnyMGu21sAg8GcyTlWZM="; 14 + vendorSha256 = "sha256-iBBESP7yR+tFYgQ1saIhpw8R2kiVVvUeA0mhgTxyhAE="; 15 15 16 16 doCheck = false; 17 17
+2 -2
pkgs/tools/security/nuclei/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "nuclei"; 8 - version = "2.6.6"; 8 + version = "2.6.7"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "projectdiscovery"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-IZxLnJyfF4MF2aTFYDyZoWdhvrd1cUJkGsASqo9KAyk="; 14 + sha256 = "sha256-lW9QTk9TBXf/W483hGny9p2isoiDl3z0+UecDm9VLOs="; 15 15 }; 16 16 17 17 vendorSha256 = "sha256-oiRpxCAdxDjlUUHqRmpAHypmESQJpziOmBtTwKig7nk=";
+11 -1
pkgs/top-level/all-packages.nix
··· 3427 3427 3428 3428 jellycli = callPackage ../applications/audio/jellycli { }; 3429 3429 3430 - jellyfin = callPackage ../servers/jellyfin { }; 3430 + jellyfin = callPackage ../servers/jellyfin { 3431 + ffmpeg = jellyfin-ffmpeg; 3432 + }; 3433 + 3434 + jellyfin-ffmpeg = callPackage ../development/libraries/jellyfin-ffmpeg { }; 3431 3435 3432 3436 jellyfin-media-player = libsForQt5.callPackage ../applications/video/jellyfin-media-player { 3433 3437 inherit (darwin.apple_sdk.frameworks) CoreFoundation Cocoa CoreAudio MediaPlayer; ··· 20498 20502 20499 20503 kyotocabinet = callPackage ../development/libraries/kyotocabinet { }; 20500 20504 20505 + tomlc99 = callPackage ../development/libraries/tomlc99 { }; 20506 + 20507 + tomlcpp = callPackage ../development/libraries/tomlcpp { }; 20508 + 20501 20509 tokyocabinet = callPackage ../development/libraries/tokyo-cabinet { }; 20502 20510 20503 20511 tokyotyrant = callPackage ../development/libraries/tokyo-tyrant { }; ··· 29706 29714 unigine-heaven = callPackage ../applications/graphics/unigine-heaven { }; 29707 29715 29708 29716 unigine-tropics = pkgsi686Linux.callPackage ../applications/graphics/unigine-tropics { }; 29717 + 29718 + unigine-sanctuary = pkgsi686Linux.callPackage ../applications/graphics/unigine-sanctuary { }; 29709 29719 29710 29720 unigine-superposition = libsForQt5.callPackage ../applications/graphics/unigine-superposition { }; 29711 29721
+1
pkgs/top-level/python-packages.nix
··· 2861 2861 2862 2862 fenics = callPackage ../development/libraries/science/math/fenics { 2863 2863 hdf5 = pkgs.hdf5_1_10; 2864 + boost = pkgs.boost169; 2864 2865 }; 2865 2866 2866 2867 ffcv = callPackage ../development/python-modules/ffcv { };