Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
ccdd1893 7c4e7c31

+486 -204
+7 -1
maintainers/maintainer-list.nix
··· 1170 1170 githubId = 706854; 1171 1171 name = "Etienne Laurin"; 1172 1172 }; 1173 + atry = { 1174 + name = "Bo Yang"; 1175 + email = "atry@fb.com"; 1176 + github = "Atry"; 1177 + githubId = 601530; 1178 + }; 1173 1179 attila-lendvai = { 1174 1180 name = "Attila Lendvai"; 1175 1181 email = "attila@lendvai.name"; ··· 6680 6686 }; 6681 6687 khushraj = { 6682 6688 email = "khushraj.rathod@gmail.com"; 6683 - github = "KhushrajRathod"; 6689 + github = "khrj"; 6684 6690 githubId = 44947946; 6685 6691 name = "Khushraj Rathod"; 6686 6692 keys = [{
+2 -2
pkgs/applications/backup/vorta/default.nix
··· 8 8 9 9 python3Packages.buildPythonApplication rec { 10 10 pname = "vorta"; 11 - version = "0.8.4"; 11 + version = "0.8.6"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "borgbase"; 15 15 repo = "vorta"; 16 16 rev = "refs/tags/v${version}"; 17 - sha256 = "sha256-eS/+7s9KgGCEhA6NgIzPlGM1daP+Ir2d1mmqse4YbIE="; 17 + sha256 = "sha256-J/Cl+et4AS44PPG2SmOHosKVw0XtOyNL0qJk68OHwQc="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ wrapQtAppsHook ];
+1 -1
pkgs/applications/emulators/retroarch/cores.nix
··· 672 672 license = "MAME"; 673 673 674 674 extraBuildInputs = [ libpng SDL ]; 675 - SDL_CONFIG = "${SDL.dev}/bin/sdl-config"; 675 + SDL_CONFIG = "${lib.getDev SDL}/bin/sdl-config"; 676 676 dontAddPrefix = true; 677 677 configurePlatforms = [ ]; 678 678 makeFlags = lib.optional stdenv.hostPlatform.isAarch64 [ "platform=aarch64" ];
+6 -2
pkgs/applications/misc/gallery-dl/default.nix
··· 2 2 3 3 buildPythonApplication rec { 4 4 pname = "gallery_dl"; 5 - version = "1.21.2"; 5 + version = "1.22.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "sha256-xn+Y8WOIH6zkExO3ZNya3ZBwh90oSjSk00xfO0c23To="; 9 + sha256 = "sha256-7gslntYAjH2nSyVKjofC2utjpzQo3aNVD1w5StHk288="; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ requests yt-dlp ]; 13 13 14 14 checkInputs = [ pytestCheckHook ]; 15 + 15 16 pytestFlagsArray = [ 16 17 # requires network access 17 18 "--ignore=test/test_results.py" 18 19 "--ignore=test/test_downloader.py" 20 + 21 + # incompatible with pytestCheckHook 22 + "--ignore=test/test_ytdl.py" 19 23 ]; 20 24 21 25 meta = with lib; {
+2 -2
pkgs/desktops/gnome/apps/gedit/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "gedit"; 28 - version = "42.0"; 28 + version = "42.1"; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://gnome/sources/gedit/${lib.versions.major version}/${pname}-${version}.tar.xz"; 32 - sha256 = "qHmR9Clh609qvNuqu3hHYMI66u765jY9PiGmHpxFhDc="; 32 + sha256 = "fx/UPfURDUw33mVBmT9B8PvD78eQkA6SBTR5ugaZIOk="; 33 33 }; 34 34 35 35 patches = [
+1 -1
pkgs/development/guile-modules/guile-sdl/default.nix
··· 24 24 pkg-config 25 25 ]; 26 26 buildInputs = [ 27 - SDL.dev 27 + (lib.getDev SDL) 28 28 SDL_image 29 29 SDL_mixer 30 30 SDL_ttf
+52
pkgs/development/libraries/SDL_compat/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , SDL2 7 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 8 + , openglSupport ? libGLSupported 9 + , libGL 10 + , libGLU 11 + }: 12 + 13 + let 14 + inherit (lib) optionals makeLibraryPath; 15 + 16 + in 17 + stdenv.mkDerivation rec { 18 + pname = "SDL_compat"; 19 + version = "1.2.52"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "libsdl-org"; 23 + repo = "sdl12-compat"; 24 + rev = "release-" + version; 25 + hash = "sha256-PDGlMI8q74JaqMQ5oX9Zt5CEr7frFQWECbuwq5g25eg="; 26 + }; 27 + 28 + nativeBuildInputs = [ cmake pkg-config ]; 29 + 30 + propagatedBuildInputs = [ SDL2 ] 31 + ++ optionals openglSupport [ libGL libGLU ]; 32 + 33 + enableParallelBuilding = true; 34 + 35 + setupHook = ../SDL/setup-hook.sh; 36 + 37 + postFixup = '' 38 + for lib in $out/lib/*.so* ; do 39 + if [[ -L "$lib" ]]; then 40 + patchelf --set-rpath "$(patchelf --print-rpath $lib):${makeLibraryPath propagatedBuildInputs}" "$lib" 41 + fi 42 + done 43 + ''; 44 + 45 + meta = with lib; { 46 + description = "A cross-platform multimedia library - build SDL 1.2 applications against 2.0"; 47 + homepage = "https://www.libsdl.org/"; 48 + license = licenses.zlib; 49 + maintainers = with maintainers; [ peterhoeg ]; 50 + platforms = platforms.all; 51 + }; 52 + }
+24
pkgs/development/libraries/libdwarf/0.4.nix
··· 1 + { lib, stdenv, fetchurl, zlib }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "libdwarf"; 5 + version = "0.4.0"; 6 + 7 + src = fetchurl { 8 + url = "https://www.prevanders.net/libdwarf-${version}.tar.xz"; 9 + sha512 = "30e5c6c1fc95aa28a014007a45199160e1d9ba870b196d6f98e6dd21a349e9bb31bba1bd6817f8ef9a89303bed0562182a7d46fcbb36aedded76c2f1e0052e1e"; 10 + }; 11 + 12 + configureFlags = [ "--enable-shared" "--disable-nonshared" ]; 13 + 14 + buildInputs = [ zlib ]; 15 + 16 + outputs = [ "bin" "lib" "dev" "out" ]; 17 + 18 + meta = { 19 + homepage = "https://github.com/davea42/libdwarf-code"; 20 + platforms = lib.platforms.unix; 21 + license = lib.licenses.lgpl21Plus; 22 + maintainers = [ lib.maintainers.atry ]; 23 + }; 24 + }
+1 -1
pkgs/development/libraries/smpeg/default.nix
··· 37 37 38 38 wrapProgram $out/bin/smpeg-config \ 39 39 --prefix PATH ":" "${pkg-config}/bin" \ 40 - --prefix PKG_CONFIG_PATH ":" "${SDL.dev}/lib/pkgconfig" 40 + --prefix PKG_CONFIG_PATH ":" "${lib.getDev SDL}/lib/pkgconfig" 41 41 ''; 42 42 43 43 NIX_LDFLAGS = "-lX11";
+6 -7
pkgs/development/python-modules/google-cloud-logging/default.nix
··· 12 12 , proto-plus 13 13 , pytestCheckHook 14 14 , pytest-asyncio 15 + , pythonOlder 15 16 }: 16 17 17 18 buildPythonPackage rec { 18 19 pname = "google-cloud-logging"; 19 - version = "3.0.0"; 20 + version = "3.1.1"; 21 + format = "setuptools"; 22 + 23 + disabled = pythonOlder "3.6"; 20 24 21 25 src = fetchPypi { 22 26 inherit pname version; 23 - sha256 = "sha256-RS42Hh3Lwo8iCMCAXBp8usAwdkVWcD2XZW0FIYuTNwg="; 27 + hash = "sha256-YjR2pdEWEWh84nixN/lDO4HssDlNN8CfhX1TOmBnsQs="; 24 28 }; 25 - 26 - postPatch = '' 27 - substituteInPlace setup.py \ 28 - --replace "google-cloud-appengine-logging >= 0.1.0, < 1.0.0dev" "google-cloud-appengine-logging >= 0.1.0" 29 - ''; 30 29 31 30 propagatedBuildInputs = [ 32 31 google-api-core
+2
pkgs/development/python-modules/graspologic/default.nix
··· 45 45 description = "A package for graph statistical algorithms"; 46 46 license = licenses.asl20; # changing to `licenses.mit` in next release 47 47 maintainers = with maintainers; [ bcdarwin ]; 48 + # graspologic-native is not available 49 + broken = true; 48 50 }; 49 51 }
+14
pkgs/development/python-modules/python-louvain/default.nix
··· 1 1 { lib 2 2 , fetchPypi 3 3 , buildPythonPackage 4 + , fetchpatch 4 5 , networkx 6 + , pandas 7 + , scipy 5 8 , numpy }: 6 9 7 10 buildPythonPackage rec { ··· 13 16 sha256 = "sha256-t7ot9QAv0o0+54mklTK6rRH+ZI5PIRfPB5jnUgodpWs="; 14 17 }; 15 18 19 + patches = [ 20 + # Fix test_karate 21 + (fetchpatch { 22 + name = "fix-karate-test-networkx-2.7.patch"; 23 + url = "https://github.com/taynaud/python-louvain/pull/95/commits/c95d767e72f580cb15319fe08d72d87c9976640b.patch"; 24 + sha256 = "sha256-9oJ9YvKl2sI8oGhfyauNS+HT4kXsDt0L8S2owluWdj0="; 25 + }) 26 + ]; 27 + 16 28 propagatedBuildInputs = [ networkx numpy ]; 17 29 18 30 pythonImportsCheck = [ "community" ]; 31 + 32 + checkInputs = [ pandas scipy ]; 19 33 20 34 meta = with lib; { 21 35 homepage = "https://github.com/taynaud/python-louvain";
+8 -10
pkgs/development/python-modules/wandb/default.nix
··· 32 32 , setproctitle 33 33 , setuptools 34 34 , shortuuid 35 + , substituteAll 35 36 , tqdm 36 37 }: 37 38 ··· 49 50 hash = "sha256-ZY7nTj93piTEeHhW+H+nQ+ws2dDmmY6u3p7uz296PbA="; 50 51 }; 51 52 53 + patches = [ 54 + (substituteAll { 55 + src = ./hardcode-git-path.patch; 56 + git = "${lib.getBin git}/bin/git"; 57 + }) 58 + ]; 59 + 52 60 # setuptools is necessary since pkg_resources is required at runtime. 53 61 propagatedBuildInputs = [ 54 62 click ··· 66 74 setuptools 67 75 shortuuid 68 76 ]; 69 - 70 - # wandb expects git to be in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf 71 - # for the error message, and an example usage here: https://github.com/wandb/client/blob/d5f655b7ca7e3eac2f3a67a84bc5c2a664a31baf/wandb/sdk/internal/meta.py#L128. 72 - # See https://github.com/NixOS/nixpkgs/pull/164176#discussion_r828801621 as to 73 - # why we don't put it in propagatedBuildInputs. Note that this is difficult to 74 - # test offline due to https://github.com/wandb/client/issues/3519. 75 - postInstall = '' 76 - mkdir -p $out/bin 77 - ln -s ${git}/bin/git $out/bin/git 78 - ''; 79 77 80 78 preCheck = '' 81 79 export HOME=$(mktemp -d)
+83
pkgs/development/python-modules/wandb/hardcode-git-path.patch
··· 1 + diff --git a/functional_tests/kfp/wandb_probe.py b/functional_tests/kfp/wandb_probe.py 2 + index 82fadfe1..25c1454c 100644 3 + --- a/functional_tests/kfp/wandb_probe.py 4 + +++ b/functional_tests/kfp/wandb_probe.py 5 + @@ -5,7 +5,7 @@ import subprocess 6 + def wandb_probe_package(): 7 + if not os.environ.get("WB_PROBE_PACKAGE"): 8 + return 9 + - s, o = subprocess.getstatusoutput("git rev-parse HEAD") 10 + + s, o = subprocess.getstatusoutput("@git@ rev-parse HEAD") 11 + if s: 12 + return 13 + wandb_local = f"git+https://github.com/wandb/client.git@{o}#egg=wandb" 14 + diff --git a/wandb/cli/cli.py b/wandb/cli/cli.py 15 + index 5767e61c..56009fec 100644 16 + --- a/wandb/cli/cli.py 17 + +++ b/wandb/cli/cli.py 18 + @@ -1745,7 +1745,7 @@ def restore(ctx, run, no_git, branch, project, entity): 19 + commit, json_config, patch_content, metadata = api.run_config( 20 + project, run=run, entity=entity 21 + ) 22 + - repo = metadata.get("git", {}).get("repo") 23 + + repo = metadata.get("@git@", {}).get("repo") 24 + image = metadata.get("docker") 25 + restore_message = ( 26 + """`wandb restore` needs to be run from the same git repository as the original run. 27 + @@ -1764,7 +1764,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag.""" 28 + 29 + if commit and api.git.enabled: 30 + wandb.termlog(f"Fetching origin and finding commit: {commit}") 31 + - subprocess.check_call(["git", "fetch", "--all"]) 32 + + subprocess.check_call(["@git@", "fetch", "--all"]) 33 + try: 34 + api.git.repo.commit(commit) 35 + except ValueError: 36 + @@ -1818,7 +1818,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag.""" 37 + # --reject is necessary or else this fails any time a binary file 38 + # occurs in the diff 39 + exit_code = subprocess.call( 40 + - ["git", "apply", "--reject", patch_rel_path], cwd=root 41 + + ["@git@", "apply", "--reject", patch_rel_path], cwd=root 42 + ) 43 + if exit_code == 0: 44 + wandb.termlog("Applied patch") 45 + diff --git a/wandb/sdk/internal/internal_api.py b/wandb/sdk/internal/internal_api.py 46 + index 612220b9..b761bfbd 100644 47 + --- a/wandb/sdk/internal/internal_api.py 48 + +++ b/wandb/sdk/internal/internal_api.py 49 + @@ -660,7 +660,7 @@ class Api: 50 + ) 51 + patch = BytesIO() 52 + if self.git.dirty: 53 + - self.git.repo.git.execute(["git", "diff"], output_stream=patch) 54 + + self.git.repo.git.execute(["@git@", "diff"], output_stream=patch) 55 + patch.seek(0) 56 + cwd = "." 57 + if self.git.enabled: 58 + diff --git a/wandb/sdk/internal/meta.py b/wandb/sdk/internal/meta.py 59 + index 6c53f750..c385951a 100644 60 + --- a/wandb/sdk/internal/meta.py 61 + +++ b/wandb/sdk/internal/meta.py 62 + @@ -125,7 +125,7 @@ class Meta: 63 + logger.debug("save patches") 64 + try: 65 + root = self._git.root 66 + - diff_args = ["git", "diff"] 67 + + diff_args = ["@git@", "diff"] 68 + if self._git.has_submodule_diff: 69 + diff_args.append("--submodule=diff") 70 + 71 + diff --git a/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py b/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py 72 + index 614df9f5..38db460b 100644 73 + --- a/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py 74 + +++ b/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py 75 + @@ -67,7 +67,7 @@ def get_git_changeset(): 76 + repo_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 77 + try: 78 + git_log = subprocess.Popen( 79 + - 'git log --pretty=format:%ct --quiet -1 HEAD', 80 + + '@git@ log --pretty=format:%ct --quiet -1 HEAD', 81 + stdout=subprocess.PIPE, stderr=subprocess.PIPE, 82 + shell=True, cwd=repo_dir, universal_newlines=True, 83 + )
+34
pkgs/development/web/bootstrap-studio/default.nix
··· 1 + { lib, fetchurl, appimageTools }: 2 + 3 + let 4 + pname = "bootstrap-studio"; 5 + version = "6.0.1"; 6 + src = fetchurl { 7 + url = "https://bootstrapstudio.io/releases/desktop/${version}/Bootstrap%20Studio.AppImage"; 8 + sha256 = "sha256-piRqIB/bCF0IBZfXdlXrc7gmPTIUDbk8xhP7X5ozyWg="; 9 + }; 10 + appimageContents = appimageTools.extractType2 { inherit pname version src; }; 11 + in 12 + appimageTools.wrapType2 { 13 + inherit pname version src; 14 + 15 + extraInstallCommands = '' 16 + mv $out/bin/${pname}-${version} $out/bin/${pname} 17 + 18 + install -m 444 -D ${appimageContents}/bstudio.desktop -t $out/share/applications 19 + 20 + substituteInPlace $out/share/applications/bstudio.desktop \ 21 + --replace 'Exec=AppRun' 'Exec=${pname}' 22 + 23 + install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/0x0/apps/bstudio.png \ 24 + $out/share/icons/hicolor/512x512/apps/bstudio.png 25 + ''; 26 + 27 + meta = with lib; { 28 + description = "Drag-and-drop designer for bootstrap"; 29 + homepage = "https://bootstrapstudio.io/"; 30 + license = licenses.unfree; 31 + maintainers = with maintainers; [ khushraj ]; 32 + platforms = [ "x86_64-linux" ]; 33 + }; 34 + }
+1 -1
pkgs/games/brogue/default.nix
··· 20 20 21 21 prePatch = '' 22 22 sed -i Makefile -e 's,LIBTCODDIR=.*,LIBTCODDIR=${libtcod},g' \ 23 - -e 's,sdl-config,${SDL.dev}/bin/sdl-config,g' 23 + -e 's,sdl-config,${lib.getDev SDL}/bin/sdl-config,g' 24 24 sed -i src/platform/tcod-platform.c -e "s,fonts/font,$out/share/brogue/fonts/font,g" 25 25 make clean 26 26 rm -rf src/libtcod*
+1 -1
pkgs/games/gargoyle/default.nix
··· 6 6 jamenv = '' 7 7 unset AR 8 8 '' + (if stdenv.isDarwin then '' 9 - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL.dev}/include/SDL" 9 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${lib.getDev SDL}/include/SDL" 10 10 export GARGLKINI="$out/Applications/Gargoyle.app/Contents/Resources/garglk.ini" 11 11 '' else '' 12 12 export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/libexec/gargoyle"
+1 -1
pkgs/games/hyperrogue/default.nix
··· 12 12 sha256 = "0bijgbqpc867pq8lbwwvcnc713gm51mmz625xb5br0q2qw09nkyh"; 13 13 }; 14 14 15 - CPPFLAGS = "-I${SDL.dev}/include/SDL"; 15 + CPPFLAGS = "-I${lib.getDev SDL}/include/SDL"; 16 16 17 17 buildInputs = [ autoreconfHook SDL SDL_ttf SDL_gfx SDL_mixer libpng glew ]; 18 18
+1 -1
pkgs/games/liquidwar/default.nix
··· 37 37 ; 38 38 39 39 # To avoid problems finding SDL_types.h. 40 - configureFlags = [ "CFLAGS=-I${SDL.dev}/include/SDL" ]; 40 + configureFlags = [ "CFLAGS=-I${lib.getDev SDL}/include/SDL" ]; 41 41 42 42 meta = with lib; { 43 43 description = "Quick tactics game";
+1 -1
pkgs/games/meritous/default.nix
··· 14 14 prePatch = '' 15 15 substituteInPlace Makefile \ 16 16 --replace "CPPFLAGS +=" "CPPFLAGS += -DSAVES_IN_HOME -DDATADIR=\\\"$out/share/meritous\\\"" \ 17 - --replace sld-config ${SDL.dev}/bin/sdl-config 17 + --replace sld-config ${lib.getDev SDL}/bin/sdl-config 18 18 substituteInPlace src/audio.c \ 19 19 --replace "filename[64]" "filename[256]" 20 20 '';
+23 -11
pkgs/games/openxcom/default.nix
··· 1 - {lib, stdenv, fetchFromGitHub, cmake, libGLU, libGL, zlib, openssl, libyamlcpp, boost 2 - , SDL, SDL_image, SDL_mixer, SDL_gfx }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , libGLU 6 + , libGL 7 + , zlib 8 + , openssl 9 + , libyamlcpp 10 + , boost 11 + , SDL 12 + , SDL_image 13 + , SDL_mixer 14 + , SDL_gfx 15 + }: 3 16 4 - let version = "1.0.0.2019.10.18"; in 5 - stdenv.mkDerivation { 17 + stdenv.mkDerivation rec { 6 18 pname = "openxcom"; 7 - inherit version; 19 + version = "1.0.0.2019.10.18"; 20 + 8 21 src = fetchFromGitHub { 9 22 owner = "OpenXcom"; 10 23 repo = "OpenXcom"; 11 24 rev = "f9853b2cb8c8f741ac58707487ef493416d890a3"; 12 - sha256 = "0kbfawj5wsp1mwfcm5mwpkq6s3d13pailjm5w268gqpxjksziyq0"; 25 + hash = "sha256-APv49ZT94oeM4KVKGtUdoQ1t8Ly8lsocr+FqXiRXbk0="; 13 26 }; 14 27 15 28 nativeBuildInputs = [ cmake ]; 16 29 buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp libGLU libGL openssl zlib ]; 17 30 18 - meta = { 31 + meta = with lib; { 19 32 description = "Open source clone of UFO: Enemy Unknown"; 20 33 homepage = "https://openxcom.org"; 21 - maintainers = [ lib.maintainers.cpages ]; 22 - platforms = lib.platforms.linux; 23 - license = lib.licenses.gpl3; 34 + maintainers = with maintainers; [ cpages ]; 35 + platforms = platforms.linux; 36 + license = licenses.gpl3; 24 37 }; 25 - 26 38 }
+1 -1
pkgs/games/pokerth/default.nix
··· 59 59 "pokerth.pro" 60 60 ]; 61 61 62 - NIX_CFLAGS_COMPILE = "-I${SDL.dev}/include/SDL"; 62 + NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL}/include/SDL"; 63 63 64 64 meta = with lib; { 65 65 homepage = "https://www.pokerth.net";
+1 -1
pkgs/games/quantumminigolf/default.nix
··· 17 17 ]; 18 18 19 19 preBuild = '' 20 - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL.dev}/include/SDL -I${SDL_ttf}/include/SDL" 20 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${lib.getDev SDL}/include/SDL -I${SDL_ttf}/include/SDL" 21 21 22 22 sed -re 's@"(gfx|fonts|tracks)/@"'"$out"'/share/quantumminigolf/\1/@g' -i *.cpp 23 23 '';
+1 -1
pkgs/games/rili/default.nix
··· 21 21 }) 22 22 ]; 23 23 24 - CPPFLAGS = "-I${SDL.dev}/include -I${SDL.dev}/include/SDL -I${SDL_mixer}/include"; 24 + CPPFLAGS = "-I${lib.getDev SDL}/include -I${lib.getDev SDL}/include/SDL -I${SDL_mixer}/include"; 25 25 26 26 nativeBuildInputs = [ autoreconfHook ]; 27 27 buildInputs = [ SDL SDL_mixer ];
+38 -17
pkgs/games/rott/default.nix
··· 1 - {stdenv, lib, fetchurl, SDL, SDL_mixer, makeDesktopItem, copyDesktopItems, runtimeShell, buildShareware ? false}: 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , writeShellScript 5 + , SDL 6 + , SDL_mixer 7 + , makeDesktopItem 8 + , copyDesktopItems 9 + , runtimeShell 10 + , buildShareware ? false 11 + }: 2 12 13 + let 14 + # Allow the game to be launched from a user's PATH and load the game data from the user's home directory. 15 + launcher = writeShellScript "rott" '' 16 + set -eEuo pipefail 17 + dir=$HOME/.rott/data 18 + test -e $dir || mkdir -p $dir 19 + cd $dir 20 + exec @out@/libexec/rott "$@" 21 + ''; 22 + 23 + in 3 24 stdenv.mkDerivation rec { 4 25 pname = "rott"; 5 26 version = "1.1.2"; ··· 10 31 }; 11 32 12 33 nativeBuildInputs = [ copyDesktopItems ]; 34 + 13 35 buildInputs = [ SDL SDL_mixer ]; 14 36 15 - preBuild = '' 16 - cd rott 17 - make clean 18 - make SHAREWARE=${if buildShareware then "1" else "0"} 19 - ''; 37 + sourceRoot = "rott-${version}/rott"; 38 + 39 + makeFlags = [ 40 + "SHAREWARE=${if buildShareware then "1" else "0"}" 41 + ]; 20 42 21 - # Include a wrapper script to allow the game to be launched from a user's PATH and load the game data from the user's home directory. 43 + # when using SDL_compat instead of SDL_classic, SDL_mixer isn't correctly 44 + # detected, but there is no harm just specifying it 45 + NIX_CFLAGS_COMPILE = [ 46 + "-I${lib.getDev SDL_mixer}/include/SDL" 47 + ]; 22 48 23 49 installPhase = '' 24 - mkdir -p $out/bin 25 - cp rott $out/bin 50 + runHook preInstall 26 51 27 - cat > $out/bin/launch-rott <<EOF 28 - #! ${runtimeShell} -e 29 - cd ~/.rott/data 30 - exec $out/bin/rott 31 - EOF 32 - 33 - chmod +x $out/bin/launch-rott 52 + install -Dm555 -t $out/libexec rott 53 + install -Dm555 ${launcher} $out/bin/${launcher.name} 54 + substituteInPlace $out/bin/rott --subst-var out 34 55 35 56 runHook postInstall 36 57 ''; ··· 38 59 desktopItems = [ 39 60 (makeDesktopItem { 40 61 name = "rott"; 41 - exec = "launch-rott"; 62 + exec = "rott"; 42 63 desktopName = "Rise of the Triad: ${if buildShareware then "The HUNT Begins" else "Dark War"}"; 43 64 categories = [ "Game" ]; 44 65 })
+1 -1
pkgs/games/wargus/stratagus.nix
··· 19 19 buildInputs = [ 20 20 zlib bzip2 libpng 21 21 lua5_1 toluapp 22 - SDL.dev SDL_image SDL_mixer libGL 22 + (lib.getDev SDL) SDL_image SDL_mixer libGL 23 23 ]; 24 24 cmakeFlags = [ 25 25 "-DCMAKE_CXX_FLAGS=-Wno-error=format-overflow"
+2 -2
pkgs/games/zaz/default.nix
··· 24 24 pkg-config 25 25 ]; 26 26 buildInputs = [ 27 - SDL.dev 27 + (lib.getDev SDL) 28 28 SDL_image 29 29 mesa 30 30 libtheora ··· 35 35 ]; 36 36 37 37 # Fix SDL include problems 38 - NIX_CFLAGS_COMPILE="-I${SDL.dev}/include/SDL -I${SDL_image}/include/SDL"; 38 + NIX_CFLAGS_COMPILE="-I${lib.getDev SDL}/include/SDL -I${SDL_image}/include/SDL"; 39 39 # Fix linking errors 40 40 makeFlags = [ 41 41 "ZAZ_LIBS+=-lSDL"
+1 -1
pkgs/servers/mastodon/default.nix
··· 18 18 19 19 yarnOfflineCache = fetchYarnDeps { 20 20 yarnLock = "${src}/yarn.lock"; 21 - sha256 = "sha256-FCwyJJwZ3/CVPT8LUid+KJcWCmFQet8Cftl7DVYhZ6I="; 21 + sha256 = "sha256-2NSibx026ENAqphGGhNoLwUldWTEPbDBrYu3hgeRlnM="; 22 22 }; 23 23 24 24 mastodon-gems = bundlerEnv {
+61 -82
pkgs/servers/mastodon/gemset.nix
··· 5 5 platforms = []; 6 6 source = { 7 7 remotes = ["https://rubygems.org"]; 8 - sha256 = "0znrdixzpbr7spr4iwp19z3r2f2klggh9pmnsiix8qrvccc5lsdl"; 8 + sha256 = "0p8zkh5ww16y8n1jp12y1gjrmll7m7305c91p419f10qrw4x8cgc"; 9 9 type = "gem"; 10 10 }; 11 - version = "6.1.5.1"; 11 + version = "6.1.6"; 12 12 }; 13 13 actionmailbox = { 14 14 dependencies = ["actionpack" "activejob" "activerecord" "activestorage" "activesupport" "mail"]; ··· 16 16 platforms = []; 17 17 source = { 18 18 remotes = ["https://rubygems.org"]; 19 - sha256 = "17mcv2qfjkix1q18nj6kidrhdwxd0rdzssdkdanrpp905z0sx0mw"; 19 + sha256 = "0z52r7k3ig09zjvfcb8xnrl9vl0ssii22c2h7gx26nq8wb7yjkwq"; 20 20 type = "gem"; 21 21 }; 22 - version = "6.1.5.1"; 22 + version = "6.1.6"; 23 23 }; 24 24 actionmailer = { 25 25 dependencies = ["actionpack" "actionview" "activejob" "activesupport" "mail" "rails-dom-testing"]; ··· 27 27 platforms = []; 28 28 source = { 29 29 remotes = ["https://rubygems.org"]; 30 - sha256 = "1084nk3fzq76gzl6kc9dwb586g3kcj1kmp8w1nsrhpl523ljgl1s"; 30 + sha256 = "186bkhrp8j81nrw5xznbi0nyhk49gdv6ynd80pcyk5lxhfkiw1wc"; 31 31 type = "gem"; 32 32 }; 33 - version = "6.1.5.1"; 33 + version = "6.1.6"; 34 34 }; 35 35 actionpack = { 36 36 dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"]; ··· 38 38 platforms = []; 39 39 source = { 40 40 remotes = ["https://rubygems.org"]; 41 - sha256 = "1b2vxprwfkza3h6z3pq508hsjh1hz9f8d7739j469mqlxsq5jh1l"; 41 + sha256 = "1walbq04v4qvgnz39cbfhz9bzhsf14q1h7gd0kgjy3frld6ysrhb"; 42 42 type = "gem"; 43 43 }; 44 - version = "6.1.5.1"; 44 + version = "6.1.6"; 45 45 }; 46 46 actiontext = { 47 47 dependencies = ["actionpack" "activerecord" "activestorage" "activesupport" "nokogiri"]; ··· 49 49 platforms = []; 50 50 source = { 51 51 remotes = ["https://rubygems.org"]; 52 - sha256 = "0ld6x9x05b1n40rjp83hsi4byp15zvb3lmvfk2h8jgxfrpb47c6j"; 52 + sha256 = "0s6v0vnnm8zrxc3pr058r8bvgs6fxgjhadbc5r1sv1mrbyvvm1h0"; 53 53 type = "gem"; 54 54 }; 55 - version = "6.1.5.1"; 55 + version = "6.1.6"; 56 56 }; 57 57 actionview = { 58 58 dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"]; ··· 60 60 platforms = []; 61 61 source = { 62 62 remotes = ["https://rubygems.org"]; 63 - sha256 = "0y54nw3x38lj0qh36hlzjw82px328k01fyrk21d6xlpn1w0j98gv"; 63 + sha256 = "05r0h7pvc0szqmgnra0j3j8ap7dmiyw9s6qksx41v5cxknmfi0h3"; 64 64 type = "gem"; 65 65 }; 66 - version = "6.1.5.1"; 66 + version = "6.1.6"; 67 67 }; 68 68 active_model_serializers = { 69 69 dependencies = ["actionpack" "activemodel" "case_transform" "jsonapi-renderer"]; ··· 92 92 platforms = []; 93 93 source = { 94 94 remotes = ["https://rubygems.org"]; 95 - sha256 = "1i6s8ppwnf0zcz466i5qi2gd7fdgxkl22db50mxkyfnbwnzbfw49"; 95 + sha256 = "0gjvxrzdbg0dsyqx7wsmxqfvlpl37zvzq3d1cylhb5qslsw6ml05"; 96 96 type = "gem"; 97 97 }; 98 - version = "6.1.5.1"; 98 + version = "6.1.6"; 99 99 }; 100 100 activemodel = { 101 101 dependencies = ["activesupport"]; ··· 103 103 platforms = []; 104 104 source = { 105 105 remotes = ["https://rubygems.org"]; 106 - sha256 = "01bbxwbih29qcmqrrvqymlc6hjf0r38rpwdfgaimisp5vms3xxsn"; 106 + sha256 = "1f0ai51icvvx5q0jd1l89k0dlwzpsrkqlj6x43f8qc4bd1ya9glx"; 107 107 type = "gem"; 108 108 }; 109 - version = "6.1.5.1"; 109 + version = "6.1.6"; 110 110 }; 111 111 activerecord = { 112 112 dependencies = ["activemodel" "activesupport"]; ··· 114 114 platforms = []; 115 115 source = { 116 116 remotes = ["https://rubygems.org"]; 117 - sha256 = "1yscjy5766g67ip3g7614b0hhrpgz5qk22nj8ghzcjqh3fj2k2n0"; 117 + sha256 = "0khjnkvmiyap1g3rvw9hp16mzai4smqcg5hxhq28pll25ljzxdbp"; 118 118 type = "gem"; 119 119 }; 120 - version = "6.1.5.1"; 120 + version = "6.1.6"; 121 121 }; 122 122 activestorage = { 123 123 dependencies = ["actionpack" "activejob" "activerecord" "activesupport" "marcel" "mini_mime"]; ··· 125 125 platforms = []; 126 126 source = { 127 127 remotes = ["https://rubygems.org"]; 128 - sha256 = "1m0m7k0p5b7dfpmh9aqfs5fapaymkml3gspirpaq6w9w55ahf6pv"; 128 + sha256 = "03w600j4jzgfycy2xm6cxry3q5rpvx1jvr7msy1jx65sa2shgjha"; 129 129 type = "gem"; 130 130 }; 131 - version = "6.1.5.1"; 131 + version = "6.1.6"; 132 132 }; 133 133 activesupport = { 134 134 dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo" "zeitwerk"]; ··· 136 136 platforms = []; 137 137 source = { 138 138 remotes = ["https://rubygems.org"]; 139 - sha256 = "1ylj0nwk9y5hbgv93wk8kkbg9z9bv1052ic37n9ib34w0bkgrzw4"; 139 + sha256 = "08wzpwgdm03vzb8gqr8bvfdarb89g5ah0skvwqk6qv87p55xqkyw"; 140 140 type = "gem"; 141 141 }; 142 - version = "6.1.5.1"; 142 + version = "6.1.6"; 143 143 }; 144 144 addressable = { 145 145 dependencies = ["public_suffix"]; ··· 250 250 platforms = []; 251 251 source = { 252 252 remotes = ["https://rubygems.org"]; 253 - sha256 = "1afpq7sczg91xx5xi4xlgcwrrhmy3k6mrk60ph8avbfiyxgw27pc"; 253 + sha256 = "0vqb2bfq5db7x66f4n4z30c953y5q8pwwl2067nxhz6j0c486pzm"; 254 254 type = "gem"; 255 255 }; 256 - version = "1.582.0"; 256 + version = "1.587.0"; 257 257 }; 258 258 aws-sdk-core = { 259 259 dependencies = ["aws-eventstream" "aws-partitions" "aws-sigv4" "jmespath"]; ··· 283 283 platforms = []; 284 284 source = { 285 285 remotes = ["https://rubygems.org"]; 286 - sha256 = "17pc197a6axmnj6rbhgsvks2w0mv2mmr2bwh1k4mazbfp72ss87i"; 286 + sha256 = "1r6dxz3llgxbbm66jq5mkzk0i6qsxwv0d9s0ipwb23vv3bgp23yf"; 287 287 type = "gem"; 288 288 }; 289 - version = "1.113.2"; 289 + version = "1.114.0"; 290 290 }; 291 291 aws-sigv4 = { 292 292 dependencies = ["aws-eventstream"]; ··· 379 379 platforms = []; 380 380 source = { 381 381 remotes = ["https://rubygems.org"]; 382 - sha256 = "1bk1xz5w29cq84svnrlgcrwvy1lpkwqrv6cmkkivs3yrym09av14"; 382 + sha256 = "1m188ypcl2lb1hin21fmyk9d4fbjw4w7cr2k6l37jasw3rmgnvjv"; 383 383 type = "gem"; 384 384 }; 385 - version = "5.2.2"; 385 + version = "5.2.3"; 386 386 }; 387 387 browser = { 388 388 groups = ["default"]; ··· 508 508 platforms = []; 509 509 source = { 510 510 remotes = ["https://rubygems.org"]; 511 - sha256 = "1dv75hs45456mi76h720gxk959gpg4f6091hmk42y0ln6kp2x7i0"; 511 + sha256 = "05df76mfhfab6d7ir0qy5xf1ad6kqdh2p6vfqv7nhlx45k1y4ysg"; 512 512 type = "gem"; 513 513 }; 514 - version = "3.36.0"; 514 + version = "3.37.1"; 515 515 }; 516 516 case_transform = { 517 517 dependencies = ["activesupport"]; ··· 775 775 }; 776 776 version = "2.7.6"; 777 777 }; 778 - e2mmap = { 779 - groups = ["default"]; 780 - platforms = []; 781 - source = { 782 - remotes = ["https://rubygems.org"]; 783 - sha256 = "0n8gxjb63dck3vrmsdcqqll7xs7f3wk78mw8w0gdk9wp5nx6pvj5"; 784 - type = "gem"; 785 - }; 786 - version = "0.1.0"; 787 - }; 788 778 ed25519 = { 789 779 groups = ["default"]; 790 780 platforms = []; ··· 895 885 platforms = []; 896 886 source = { 897 887 remotes = ["https://rubygems.org"]; 898 - sha256 = "1694ndj701a8q4c4bwxz53kx94ih1rr4pgr4gk7a6c8k4jsbjgwi"; 888 + sha256 = "025lapimxw0db74gf2yd6zypqq1yvfblhk7wkd6h3r1szk7k8r8p"; 899 889 type = "gem"; 900 890 }; 901 - version = "2.20.0"; 891 + version = "2.21.0"; 902 892 }; 903 893 faraday = { 904 894 dependencies = ["faraday-em_http" "faraday-em_synchrony" "faraday-excon" "faraday-httpclient" "faraday-multipart" "faraday-net_http" "faraday-net_http_persistent" "faraday-patron" "faraday-rack" "faraday-retry" "ruby2_keywords"]; ··· 1312 1302 platforms = []; 1313 1303 source = { 1314 1304 remotes = ["https://rubygems.org"]; 1315 - sha256 = "1hiblss98hmybs82xsaavhz1cwlhhx92jzlx8ypkriylxhhwmigk"; 1305 + sha256 = "03frq52fad0qs2gy7769nywv7bnspxccbsv10akzgx7icfjsjldv"; 1316 1306 type = "gem"; 1317 1307 }; 1318 - version = "1.0.9"; 1308 + version = "1.0.10"; 1319 1309 }; 1320 1310 idn-ruby = { 1321 1311 groups = ["default"]; ··· 1545 1535 platforms = []; 1546 1536 source = { 1547 1537 remotes = ["https://rubygems.org"]; 1548 - sha256 = "0fpx5p8n0jq4bdazb2vn19sqkmh398rk9b2pa3gdi43snfn485cr"; 1538 + sha256 = "18ymp6l3bv7abz07k6qbbi9c9vsiahq30d2smh4qzsvag8j5m5v1"; 1549 1539 type = "gem"; 1550 1540 }; 1551 - version = "2.17.0"; 1541 + version = "2.18.0"; 1552 1542 }; 1553 1543 mail = { 1554 1544 dependencies = ["mini_mime"]; ··· 1762 1752 platforms = []; 1763 1753 source = { 1764 1754 remotes = ["https://rubygems.org"]; 1765 - sha256 = "1g43ii497cwdqhfnaxfl500bq5yfc5hfv5df1lvf6wcjnd708ihd"; 1755 + sha256 = "11w59ga9324yx6339dgsflz3dsqq2mky1qqdwcg6wi5s1bf2yldi"; 1766 1756 type = "gem"; 1767 1757 }; 1768 - version = "1.13.4"; 1758 + version = "1.13.6"; 1769 1759 }; 1770 1760 nsa = { 1771 1761 dependencies = ["activesupport" "concurrent-ruby" "sidekiq" "statsd-ruby"]; ··· 1899 1889 platforms = []; 1900 1890 source = { 1901 1891 remotes = ["https://rubygems.org"]; 1902 - sha256 = "0zaghgvva2q4jqbachg8jvpwgbg3w1jqr0d00m8rqciqznjgsw3c"; 1892 + sha256 = "0xhfghgidj8cbdnqp01f7kvnrv1f60izpkd9dhxsvpdzkfsdg97d"; 1903 1893 type = "gem"; 1904 1894 }; 1905 - version = "3.1.1.0"; 1895 + version = "3.1.2.0"; 1906 1896 }; 1907 1897 parslet = { 1908 1898 groups = ["default"]; ··· 2036 2026 platforms = []; 2037 2027 source = { 2038 2028 remotes = ["https://rubygems.org"]; 2039 - sha256 = "1xqcgkl7bwws1qrlnmxgh8g4g9m10vg60bhlw40fplninb3ng6d9"; 2029 + sha256 = "1f3knlwfwm05sfbaihrxm4g772b79032q14c16q4b38z8bi63qcb"; 2040 2030 type = "gem"; 2041 2031 }; 2042 - version = "4.0.6"; 2032 + version = "4.0.7"; 2043 2033 }; 2044 2034 puma = { 2045 2035 dependencies = ["nio4r"]; ··· 2154 2144 platforms = []; 2155 2145 source = { 2156 2146 remotes = ["https://rubygems.org"]; 2157 - sha256 = "08a9wl2g4q403jc9iziqh37c64yccp6rzxz6avy0l7ydslpxggv8"; 2147 + sha256 = "06wzq30c2f9jhsbkxwg9n18xwyh66fnpbndkrvq1c4mrl2rx478z"; 2158 2148 type = "gem"; 2159 2149 }; 2160 - version = "6.1.5.1"; 2150 + version = "6.1.6"; 2161 2151 }; 2162 2152 rails-controller-testing = { 2163 2153 dependencies = ["actionpack" "actionview" "activesupport"]; ··· 2220 2210 platforms = []; 2221 2211 source = { 2222 2212 remotes = ["https://rubygems.org"]; 2223 - sha256 = "0lirp0g1n114gwkqbqki2fjqwnbyzhn30z97jhikqldd0r54f4b9"; 2213 + sha256 = "16dyjmy42v51acmx1ba2xxncvx368ss5rww6bsf1lwgyk4vqn41h"; 2224 2214 type = "gem"; 2225 2215 }; 2226 - version = "6.1.5.1"; 2216 + version = "6.1.6"; 2227 2217 }; 2228 2218 rainbow = { 2229 2219 groups = ["default" "development" "test"]; ··· 2293 2283 platforms = []; 2294 2284 source = { 2295 2285 remotes = ["https://rubygems.org"]; 2296 - sha256 = "0a6nxfq3ln1i109jx172n33s73a90l8g04h8p56bmw9phj467h9k"; 2286 + sha256 = "01rmdc7ryjyajk3a4mdn68y4bvp3ly9xv610wia3291hsiqncrb6"; 2297 2287 type = "gem"; 2298 2288 }; 2299 - version = "2.3.0"; 2289 + version = "2.4.0"; 2300 2290 }; 2301 2291 request_store = { 2302 2292 dependencies = ["rack"]; ··· 2453 2443 platforms = []; 2454 2444 source = { 2455 2445 remotes = ["https://rubygems.org"]; 2456 - sha256 = "00d9nzlnbxr3jqkya2b2rcahs9l22qpdk5qf3y7pws8m555l8slk"; 2446 + sha256 = "0k2wp9sxqpdyc12kp8qafls0yn44vq90zxd830s7y7rxp9xq3018"; 2457 2447 type = "gem"; 2458 2448 }; 2459 - version = "1.27.0"; 2449 + version = "1.29.1"; 2460 2450 }; 2461 2451 rubocop-ast = { 2462 2452 dependencies = ["parser"]; ··· 2464 2454 platforms = []; 2465 2455 source = { 2466 2456 remotes = ["https://rubygems.org"]; 2467 - sha256 = "1k9izkr5rhw3zc309yjp17z7496l74j4li3zrcgpgqfnqwz695qx"; 2457 + sha256 = "1b3p4wy68jkyq8vhm5y568wlhsihy3ilnp2c6ig18xcw1slnkypl"; 2468 2458 type = "gem"; 2469 2459 }; 2470 - version = "1.17.0"; 2460 + version = "1.18.0"; 2471 2461 }; 2472 2462 rubocop-rails = { 2473 2463 dependencies = ["activesupport" "rack" "rubocop"]; ··· 2581 2571 platforms = []; 2582 2572 source = { 2583 2573 remotes = ["https://rubygems.org"]; 2584 - sha256 = "0fq3nxpj1c9s2bi056p9cldb7zy45bgdkjq8721zypw1pkvllb7f"; 2574 + sha256 = "0b06kw7frd8hrb7373pvfd39qap00ykkvipgymgwxfjzrgz0ag0d"; 2585 2575 type = "gem"; 2586 2576 }; 2587 - version = "6.4.1"; 2577 + version = "6.4.2"; 2588 2578 }; 2589 2579 sidekiq-bulk = { 2590 2580 dependencies = ["sidekiq"]; ··· 2598 2588 version = "0.2.0"; 2599 2589 }; 2600 2590 sidekiq-scheduler = { 2601 - dependencies = ["e2mmap" "redis" "rufus-scheduler" "sidekiq" "thwait" "tilt"]; 2591 + dependencies = ["redis" "rufus-scheduler" "sidekiq" "tilt"]; 2602 2592 groups = ["default"]; 2603 2593 platforms = []; 2604 2594 source = { 2605 2595 remotes = ["https://rubygems.org"]; 2606 - sha256 = "0ncly0glyvcx8cm976c811iw70y5wyix6iwfsmmgfvi0jmy1h4v3"; 2596 + sha256 = "0kn0zzpl778345a9pc3dfc7lkgr8h1gwajs6miylmyd9krkh0yfm"; 2607 2597 type = "gem"; 2608 2598 }; 2609 - version = "3.2.0"; 2599 + version = "4.0.0"; 2610 2600 }; 2611 2601 sidekiq-unique-jobs = { 2612 2602 dependencies = ["brpoplpush-redis_script" "concurrent-ruby" "sidekiq" "thor"]; ··· 2614 2604 platforms = []; 2615 2605 source = { 2616 2606 remotes = ["https://rubygems.org"]; 2617 - sha256 = "0ibrdlpvlra8wxkhapiipwrx8v9y6wpmxlfn5r53swvhmlkrjqgq"; 2607 + sha256 = "170i40s7rsw66cplq2akia409vxnb8i34ypy99qpx0pxs8rp4c4d"; 2618 2608 type = "gem"; 2619 2609 }; 2620 - version = "7.1.21"; 2610 + version = "7.1.22"; 2621 2611 }; 2622 2612 simple-navigation = { 2623 2613 dependencies = ["activesupport"]; ··· 2740 2730 platforms = []; 2741 2731 source = { 2742 2732 remotes = ["https://rubygems.org"]; 2743 - sha256 = "0ixpwp14hrygif8c1wn05gh4d4nq1940p3grh95r4dqmpjdqn0sr"; 2733 + sha256 = "1628qf2ynldqz20h5lkaivk166qknk15gxg130n9pvz568k1sdp8"; 2744 2734 type = "gem"; 2745 2735 }; 2746 - version = "2.2.1"; 2736 + version = "3.0.0"; 2747 2737 }; 2748 2738 strong_migrations = { 2749 2739 dependencies = ["activerecord"]; ··· 2808 2798 type = "gem"; 2809 2799 }; 2810 2800 version = "1.2.1"; 2811 - }; 2812 - thwait = { 2813 - dependencies = ["e2mmap"]; 2814 - groups = ["default"]; 2815 - platforms = []; 2816 - source = { 2817 - remotes = ["https://rubygems.org"]; 2818 - sha256 = "0q0fqlh0668j66z0g3s5yhqs39368az2ycxyphsx4c5nib5r4kak"; 2819 - type = "gem"; 2820 - }; 2821 - version = "0.2.0"; 2822 2801 }; 2823 2802 tilt = { 2824 2803 groups = ["default"];
+2 -2
pkgs/servers/mastodon/source.nix
··· 2 2 { fetchgit, applyPatches }: let 3 3 src = fetchgit { 4 4 url = "https://github.com/mastodon/mastodon.git"; 5 - rev = "v3.5.2"; 6 - sha256 = "03sk0rzf7zy0vpq6f5f909hx5gbnan5b5h068grgzv2v7lj11was"; 5 + rev = "v3.5.3"; 6 + sha256 = "1z0fgyvzz7nlbg2kaxsh53c4bq4y6n5f9r8lyfa7vzvz9nwrkqiq"; 7 7 }; 8 8 in applyPatches { 9 9 inherit src;
+1 -1
pkgs/servers/mastodon/version.nix
··· 1 - "3.5.2" 1 + "3.5.3"
+8 -3
pkgs/shells/nushell/default.nix
··· 14 14 , nghttp2 15 15 , libgit2 16 16 , withExtraFeatures ? true 17 + , testers 18 + , nushell 17 19 }: 18 20 19 21 rustPlatform.buildRustPackage rec { 20 22 pname = "nushell"; 21 - version = "0.62.0"; 23 + version = "0.63.0"; 22 24 23 25 src = fetchFromGitHub { 24 26 owner = pname; 25 27 repo = pname; 26 28 rev = version; 27 - sha256 = "sha256-fEwsoAbrV4fSreyB4+xcN8PGDlkLyaK+ptwgZrsBuLk="; 29 + sha256 = "sha256-4thvUSOSvH/bv0aW7hGGQMvtXdS+yDfZzPRLZmPZQMQ="; 28 30 }; 29 31 30 - cargoSha256 = "sha256-C4Eynvk3ogIl/RDwyA28hYKlkHA2eMYSCyIvAbp+NQo="; 32 + cargoSha256 = "sha256-ALUp6sPcmnJy/A078umyKg8KBv23P0vv8mwoO9OU+DQ="; 31 33 32 34 nativeBuildInputs = [ pkg-config ] 33 35 ++ lib.optionals (withExtraFeatures && stdenv.isLinux) [ python3 ]; ··· 74 76 75 77 passthru = { 76 78 shellPath = "/bin/nu"; 79 + tests.version = testers.testVersion { 80 + package = nushell; 81 + }; 77 82 }; 78 83 }
+11 -11
pkgs/shells/nushell/use-system-zstd-lib.diff
··· 1 1 diff --git a/Cargo.lock b/Cargo.lock 2 - index 4261c06..6d6e537 100644 2 + index 6cebf66d..b6e40cd9 100644 3 3 --- a/Cargo.lock 4 4 +++ b/Cargo.lock 5 - @@ -2166,6 +2166,7 @@ dependencies = [ 5 + @@ -2443,6 +2443,7 @@ dependencies = [ 6 6 "rstest", 7 7 "serial_test", 8 8 "tempfile", ··· 10 10 ] 11 11 12 12 [[package]] 13 - @@ -4962,4 +4963,5 @@ checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8" 13 + @@ -5365,4 +5366,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b" 14 14 dependencies = [ 15 15 "cc", 16 16 "libc", 17 17 + "pkg-config", 18 18 ] 19 19 diff --git a/Cargo.toml b/Cargo.toml 20 - index e214da1..b78919a 100644 20 + index 0791d462..d520d9ae 100644 21 21 --- a/Cargo.toml 22 22 +++ b/Cargo.toml 23 - @@ -67,6 +69,9 @@ hamcrest2 = "0.3.0" 24 - rstest = "0.12.0" 25 - itertools = "0.10.3" 23 + @@ -58,6 +58,9 @@ rayon = "1.5.1" 24 + reedline = { version = "0.6.0", features = ["bashisms"]} 25 + is_executable = "1.0.1" 26 26 27 27 +# Specify that the indirect dependency ztsd-sys should pick up the system zstd C library 28 - +zstd-sys = { version = "1", features = [ "pkg-config" ] } 28 + +zstd-sys = { version = "2", features = [ "pkg-config" ] } 29 29 + 30 - [target.'cfg(windows)'.build-dependencies] 31 - embed-resource = "1" 32 - 30 + [dev-dependencies] 31 + nu-test-support = { path="./crates/nu-test-support", version = "0.63.0" } 32 + tempfile = "3.2.0"
+2 -2
pkgs/tools/admin/aliyun-cli/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "aliyun-cli"; 5 - version = "3.0.119"; 5 + version = "3.0.121"; 6 6 7 7 src = fetchFromGitHub { 8 8 rev = "v${version}"; 9 9 owner = "aliyun"; 10 10 repo = pname; 11 11 fetchSubmodules = true; 12 - sha256 = "sha256-vvQevEEVu8ySnbSXoFxQZLa+yqml18duilmnefDsR+I="; 12 + sha256 = "sha256-1D1JZZ/KMC4oZRaYvWpUazTk7llvX5WHPBxWEGCiKrI="; 13 13 }; 14 14 15 15 vendorSha256 = "sha256-f3GXkAvTe8rPFWCR5TM4mDK/VOQWt2lrZrfJ/Wvw8Uc=";
+5 -2
pkgs/tools/graphics/mangohud/default.nix
··· 26 26 , vulkan-loader 27 27 , libXNVCtrl 28 28 , wayland 29 + , spdlog 29 30 , addOpenGLRunpath 30 31 }: 31 32 ··· 46 47 }; 47 48 in stdenv.mkDerivation rec { 48 49 pname = "mangohud"; 49 - version = "0.6.5"; 50 + version = "0.6.7-1"; 50 51 51 52 src = fetchFromGitHub { 52 53 owner = "flightlessmango"; 53 54 repo = "MangoHud"; 54 55 rev = "v${version}"; 55 56 fetchSubmodules = true; 56 - sha256 = "sha256-RRtti0VnB6SXrpFYaEqANvpgvP/Dkvc+x/I40AXaspU="; 57 + sha256 = "sha256-60cZYo+d679KRggLBGbpLYM5Iu1XySEEGp+MxZs6wF0="; 57 58 }; 58 59 59 60 outputs = [ "out" "doc" "man" ]; ··· 103 104 "-Duse_system_vulkan=enabled" 104 105 "-Dvulkan_datadir=${vulkan-headers}/share" 105 106 "-Dwith_wayland=enabled" 107 + "-Duse_system_spdlog=enabled" 106 108 ]; 107 109 108 110 nativeBuildInputs = [ ··· 122 124 libX11 123 125 libXNVCtrl 124 126 wayland 127 + spdlog 125 128 ]; 126 129 127 130 # Support 32bit Vulkan applications by linking in 32bit Vulkan layer
+46 -28
pkgs/tools/graphics/mangohud/hardcode-dependencies.patch
··· 1 + From 56a191f6db6d530c2bc89d9d3395b4c9768d108f Mon Sep 17 00:00:00 2001 2 + From: Atemu <atemu.main@gmail.com> 3 + Date: Tue, 17 May 2022 16:58:08 +0200 4 + Subject: [PATCH 1/2] hardcode dependencies 5 + 6 + --- 7 + src/dbus.cpp | 2 +- 8 + src/loaders/loader_x11.cpp | 2 +- 9 + src/logging.cpp | 7 +++++++ 10 + src/pci_ids.cpp | 6 ++---- 11 + 4 files changed, 11 insertions(+), 6 deletions(-) 12 + 1 13 diff --git a/src/dbus.cpp b/src/dbus.cpp 2 - index 44ffafc..9baf57b 100644 14 + index 3b3cccb..1405725 100644 3 15 --- a/src/dbus.cpp 4 16 +++ b/src/dbus.cpp 5 - @@ -162,7 +162,7 @@ bool dbus_manager::init(const std::string& requested_player) { 6 - return true; 7 - } 17 + @@ -152,7 +152,7 @@ bool dbus_manager::get_media_player_metadata(metadata& meta, std::string name) { 18 + } 8 19 20 + bool dbus_manager::init_internal() { 9 21 - if (!m_dbus_ldr.IsLoaded() && !m_dbus_ldr.Load("libdbus-1.so.3")) { 10 22 + if (!m_dbus_ldr.IsLoaded() && !m_dbus_ldr.Load("@libdbus@/lib/libdbus-1.so.3")) { 11 - std::cerr << "MANGOHUD: Could not load libdbus-1.so.3\n"; 23 + SPDLOG_ERROR("Could not load libdbus-1.so.3"); 12 24 return false; 13 25 } 14 26 diff --git a/src/loaders/loader_x11.cpp b/src/loaders/loader_x11.cpp 15 - index 25c65bf..87488d5 100644 27 + index 4db6f78..c60d08c 100644 16 28 --- a/src/loaders/loader_x11.cpp 17 29 +++ b/src/loaders/loader_x11.cpp 18 - @@ -88,4 +88,4 @@ void libx11_loader::CleanUp(bool unload) { 30 + @@ -89,4 +89,4 @@ void libx11_loader::CleanUp(bool unload) { 19 31 20 32 } 21 33 22 34 -std::shared_ptr<libx11_loader> g_x11(new libx11_loader("libX11.so.6")); 23 35 +std::shared_ptr<libx11_loader> g_x11(new libx11_loader("@libX11@/lib/libX11.so.6")); 24 36 diff --git a/src/logging.cpp b/src/logging.cpp 25 - index ee8600b..c7c91a0 100644 37 + index b27f21e..48f5e03 100644 26 38 --- a/src/logging.cpp 27 39 +++ b/src/logging.cpp 28 - @@ -19,7 +19,10 @@ string exec(string command) { 29 - #ifdef __gnu_linux__ 30 - 31 - // Open pipe to file 32 - + char* originalPath = getenv("PATH"); 33 - + setenv("PATH", "@path@", 1); 34 - FILE* pipe = popen(command.c_str(), "r"); 35 - + setenv("PATH", originalPath, 1); 36 - if (!pipe) { 40 + @@ -22,7 +22,14 @@ string exec(string command) { 41 + #endif 42 + std::array<char, 128> buffer; 43 + std::string result; 44 + + 45 + + char* originalPath = getenv("PATH"); 46 + + setenv("PATH", "@path@", 1); 47 + + 48 + std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(command.c_str(), "r"), pclose); 49 + + 50 + + setenv("PATH", originalPath, 1); 51 + + 52 + if (!pipe) { 37 53 return "popen failed!"; 38 - } 54 + } 39 55 diff --git a/src/pci_ids.cpp b/src/pci_ids.cpp 40 - index 4e2a6d2..9490869 100644 56 + index feec222..6baa707 100644 41 57 --- a/src/pci_ids.cpp 42 58 +++ b/src/pci_ids.cpp 43 - @@ -22,12 +22,9 @@ std::istream& get_uncommented_line(std::istream& is, std::string &line) 44 - 59 + @@ -24,11 +24,9 @@ std::istream& get_uncommented_line(std::istream& is, std::string &line) 45 60 void parse_pciids() 46 61 { 47 - - std::ifstream file("/usr/share/hwdata/pci.ids"); 48 - + std::ifstream file("@hwdata@/share/hwdata/pci.ids"); 49 - if(file.fail()){ 50 - - std::ifstream file("/usr/share/misc/pci.ids"); 62 + std::ifstream file; 63 + - file.open("/usr/share/hwdata/pci.ids"); 64 + + file.open("@hwdata@/share/hwdata/pci.ids"); 65 + if (file.fail()){ 66 + - file.open("/usr/share/misc/pci.ids"); 51 67 - if (file.fail()) 52 - - printf("MANGOHUD: can't find file pci.ids\n"); 53 - - 54 - + printf("MANGOHUD: can't find file pci.ids\n"); 68 + - SPDLOG_ERROR("can't find file pci.ids"); 69 + + SPDLOG_ERROR("can't find file pci.ids"); 55 70 } 56 71 57 72 std::string line; 73 + -- 74 + 2.36.0 75 +
+12
pkgs/tools/graphics/mangohud/opengl32-nix-workaround.patch
··· 1 + From 1ac93cbf0eed951af6967a81f731a0f418ea0b3d Mon Sep 17 00:00:00 2001 2 + From: Atemu <atemu.main@gmail.com> 3 + Date: Tue, 17 May 2022 16:58:45 +0200 4 + Subject: [PATCH 2/2] opengl32 nix workaround 5 + 6 + --- 7 + bin/mangohud.in | 2 +- 8 + 1 file changed, 1 insertion(+), 1 deletion(-) 9 + 1 10 diff --git a/bin/mangohud.in b/bin/mangohud.in 2 11 index 8ec21de..f65304a 100755 3 12 --- a/bin/mangohud.in ··· 10 19 +LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:@ld_libdir_mangohud@:@mangohud32@/lib/mangohud" 11 20 12 21 exec env MANGOHUD=1 LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" LD_PRELOAD="${LD_PRELOAD}" "$@" 22 + -- 23 + 2.36.0 24 +
+1 -1
pkgs/tools/graphics/quirc/default.nix
··· 16 16 buildInputs = [ SDL SDL_gfx libjpeg libpng opencv ]; 17 17 18 18 makeFlags = [ "PREFIX=$(out)" ]; 19 - NIX_CFLAGS_COMPILE = "-I${SDL.dev}/include/SDL -I${SDL_gfx}/include/SDL"; 19 + NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL}/include/SDL -I${SDL_gfx}/include/SDL"; 20 20 21 21 # Disable building of linux-only demos on darwin systems 22 22 patches = lib.optionals stdenv.isDarwin [ ./0001-dont-build-demos.patch ];
+9
pkgs/tools/security/yubikey-touch-detector/default.nix
··· 16 16 17 17 buildInputs = [ libnotify ]; 18 18 19 + postInstall = '' 20 + install -Dm444 -t $out/share/doc/${pname} *.md 21 + 22 + install -Dm444 -t $out/lib/systemd/user *.{service,socket} 23 + 24 + substituteInPlace $out/lib/systemd/user/*.service \ 25 + --replace /usr/bin/yubikey-touch-detector "$out/bin/yubikey-touch-detector --libnotify" 26 + ''; 27 + 19 28 meta = with lib; { 20 29 description = "A tool to detect when your YubiKey is waiting for a touch (to send notification or display a visual indicator on the screen)."; 21 30 homepage = "https://github.com/maximbaz/yubikey-touch-detector";
+1 -1
pkgs/tools/video/mjpegtools/default.nix
··· 22 22 buildInputs = [ libdv libjpeg libpng ] 23 23 ++ lib.optionals (!withMinimal) [ gtk2 libX11 SDL SDL_gfx ]; 24 24 25 - NIX_CFLAGS_COMPILE = lib.optionalString (!withMinimal) "-I${SDL.dev}/include/SDL"; 25 + NIX_CFLAGS_COMPILE = lib.optionalString (!withMinimal) "-I${lib.getDev SDL}/include/SDL"; 26 26 27 27 postPatch = '' 28 28 sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
+10 -3
pkgs/top-level/all-packages.nix
··· 258 258 259 259 bingo = callPackage ../development/tools/bingo {}; 260 260 261 + bootstrap-studio = callPackage ../development/web/bootstrap-studio {}; 262 + 261 263 breakpad = callPackage ../development/misc/breakpad { }; 262 264 263 265 buf = callPackage ../development/tools/buf { }; ··· 18439 18441 18440 18442 inherit (callPackage ../development/libraries/libdwarf { }) 18441 18443 libdwarf dwarfdump; 18444 + libdwarf_0_4 = callPackage ../development/libraries/libdwarf/0.4.nix { }; 18442 18445 18443 18446 libe57format = callPackage ../development/libraries/libe57format { }; 18444 18447 ··· 20436 20439 autoreconfHook = buildPackages.autoreconfHook269; 20437 20440 }; 20438 20441 20439 - SDL = callPackage ../development/libraries/SDL ({ 20442 + SDL_classic = callPackage ../development/libraries/SDL ({ 20440 20443 inherit (darwin.apple_sdk.frameworks) OpenGL CoreAudio CoreServices AudioUnit Kernel Cocoa GLUT; 20441 20444 } // lib.optionalAttrs stdenv.hostPlatform.isAndroid { 20442 20445 # libGLU doesn’t work with Android’s SDL 20443 20446 libGLU = null; 20444 20447 }); 20448 + 20449 + SDL_compat = callPackage ../development/libraries/SDL_compat { }; 20450 + 20451 + SDL = SDL_classic; 20445 20452 20446 20453 SDL_audiolib = callPackage ../development/libraries/SDL_audiolib { }; 20447 20454 ··· 32029 32036 32030 32037 opentyrian = callPackage ../games/opentyrian { }; 32031 32038 32032 - openxcom = callPackage ../games/openxcom { }; 32039 + openxcom = callPackage ../games/openxcom { SDL = SDL_compat; }; 32033 32040 32034 32041 openxray = callPackage ../games/openxray { }; 32035 32042 ··· 32133 32140 32134 32141 rocksndiamonds = callPackage ../games/rocksndiamonds { }; 32135 32142 32136 - rott = callPackage ../games/rott { }; 32143 + rott = callPackage ../games/rott { SDL = SDL_compat; }; 32137 32144 32138 32145 rott-shareware = rott.override { 32139 32146 buildShareware = true;
+1 -1
pkgs/top-level/perl-packages.nix
··· 330 330 331 331 installPhase = "./Build install --prefix $out"; 332 332 333 - SDL_INST_DIR = pkgs.SDL.dev; 333 + SDL_INST_DIR = lib.getDev pkgs.SDL; 334 334 buildInputs = [ pkgs.SDL ArchiveExtract ArchiveZip TextPatch ]; 335 335 propagatedBuildInputs = [ CaptureTiny FileShareDir FileWhich ]; 336 336