From 10b726cf79d727a2e8a8e50f415fbdcb2467b623 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 27 Nov 2025 16:27:54 +0100 Subject: [PATCH] pfsshell: 1.1.1 -> 1.1.1-unstable-2025-07-13 remove disabled hardening and build pfsfuse to mount ps2 pfs images as a file system 1.1.1 release is almost 5 years old but development has continued --- pkgs/by-name/pf/pfsshell/package.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/pf/pfsshell/package.nix b/pkgs/by-name/pf/pfsshell/package.nix index 88373f689c6f..b1356ef647af 100644 --- a/pkgs/by-name/pf/pfsshell/package.nix +++ b/pkgs/by-name/pf/pfsshell/package.nix @@ -1,30 +1,34 @@ { + cmake, lib, stdenv, fetchFromGitHub, + fuse, meson, ninja, + pkg-config, }: stdenv.mkDerivation (finalAttrs: { - version = "1.1.1"; + version = "1.1.1-unstable-2025-07-13"; pname = "pfsshell"; src = fetchFromGitHub { - owner = "uyjulian"; + owner = "ps2homebrew"; repo = "pfsshell"; - rev = "v${finalAttrs.version}"; - sha256 = "0cr91al3knsbfim75rzl7rxdsglcc144x0nizn7q4jx5cad3zbn8"; + rev = "8192de3907a05bb1844afcb1ae490179a38d4ed6"; + fetchSubmodules = true; + hash = "sha256-drQNnCIqwM+Lnix5LewkD2ov8G6Mbu60xVKQKvCFbPY="; }; nativeBuildInputs = [ + fuse meson ninja + pkg-config ]; - # Build errors since 1.1.1 when format hardening is enabled: - # cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security] - hardeningDisable = [ "format" ]; + mesonFlags = [ (lib.mesonBool "enable_pfsfuse" true) ]; meta = { inherit (finalAttrs.src.meta) homepage;