9 stdenv.mkDerivation rec {
13 buildInputs = [ libsndfile SDL wxGTK32 ];
16 url = "https://www.cyber1.org/download/linux/pterm-${version}.tar.bz2";
17 hash = "sha256-0OJvoCOGx/a51Ja7n3fOTeQJEcdyn/GhaJ0NtVCyuC8=";
20 patches = [ ./0001-dtnetsubs-remove-null-check.patch ];
23 substituteInPlace Makefile.common Makefile.wxpterm --replace "/bin/echo" "echo"
24 echo "exit 0" > wxversion.py
27 hardeningDisable = [ "format" ];
29 env.PTERMVERSION = "${version}";
34 install -Dm755 "pterm" "$out/bin/pterm"
40 description = "terminal emulator for the Cyber1 mainframe-based CYBIS system";
41 homepage = "https://www.cyber1.org/";
42 license = licenses.zlib;
43 maintainers = with maintainers; [ sarcasticadmin ];
44 mainProgram = "pterm";
45 platforms = platforms.unix;
46 broken = stdenv.hostPlatform.isDarwin;