1 { lib, stdenv, fetchFromGitHub, meson, ninja }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "0cr91al3knsbfim75rzl7rxdsglcc144x0nizn7q4jx5cad3zbn8";
14 nativeBuildInputs = [ meson ninja ];
16 # Build errors since 1.1.1 when format hardening is enabled:
17 # cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
18 hardeningDisable = [ "format" ];
21 inherit (src.meta) homepage;
22 description = "PFS (PlayStation File System) shell for POSIX-based systems";
23 platforms = platforms.unix;
24 license = with licenses; [
25 gpl2Only # the pfsshell software itself
26 afl20 # APA, PFS, and iomanX libraries which are compiled together with this package
28 maintainers = with maintainers; [ makefu ];