2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools,
|
|
|
|
unittestCheckHook,
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py65";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.2.0";
|
|
|
|
pyproject = true;
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mnaberez";
|
|
|
|
repo = "py65";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-BMX+sMPx/YBFA4NFkaY0rl0EPicGHgb6xXVvLEIdllA=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
meta = {
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://github.com/mnaberez/py65";
|
2023-08-04 22:07:22 +00:00
|
|
|
description = "Emulate 6502-based microcomputer systems in Python";
|
|
|
|
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.
|
|
|
|
'';
|
2024-05-15 15:35:15 +00:00
|
|
|
changelog = "https://github.com/mnaberez/py65/blob/${src.rev}/CHANGES.txt";
|
2023-08-04 22:07:22 +00:00
|
|
|
license = lib.licenses.bsd3;
|
2024-05-15 15:35:15 +00:00
|
|
|
mainProgram = "py65mon";
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
AndersonTorres
|
|
|
|
tomasajt
|
|
|
|
];
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
}
|