at 23.11-beta 30 lines 922 B view raw
1{ lib, stdenv, fetchFromGitHub, meson, ninja }: 2 3stdenv.mkDerivation rec { 4 version = "1.1.1"; 5 pname = "pfsshell"; 6 7 src = fetchFromGitHub { 8 owner = "uyjulian"; 9 repo = "pfsshell"; 10 rev = "v${version}"; 11 sha256 = "0cr91al3knsbfim75rzl7rxdsglcc144x0nizn7q4jx5cad3zbn8"; 12 }; 13 14 nativeBuildInputs = [ meson ninja ]; 15 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" ]; 19 20 meta = with lib; { 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 27 ]; 28 maintainers = with maintainers; [ makefu ]; 29 }; 30}