2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py65";
|
|
|
|
version = "1.1.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mnaberez";
|
|
|
|
repo = "py65";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-WLs3TAZovuphWZIvMvM3CZnqg1aZfMF4Yrqw46k+bLA=";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace py65/tests/test_monitor.py \
|
|
|
|
--replace "test_argv_rom" "dont_test_argv_rom" \
|
|
|
|
--replace "test_argv_combination_rom_mpu" "dont_test_argv_combination_rom_mpu"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://py65.readthedocs.io/";
|
|
|
|
description = "Emulate 6502-based microcomputer systems in Python";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "py65mon";
|
2023-08-04 22:07:22 +00:00
|
|
|
longDescription = ''
|
|
|
|
Py65 includes a program called Py65Mon that functions as a machine
|
|
|
|
language monitor. This kind of program is sometimes also called a
|
|
|
|
debugger. Py65Mon provides a command line with many convenient commands
|
|
|
|
for interacting with the simulated 6502-based system.
|
|
|
|
'';
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres tomasajt ];
|
|
|
|
};
|
|
|
|
}
|