at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 unittestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "py65"; 11 version = "1.2.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "mnaberez"; 16 repo = "py65"; 17 tag = version; 18 hash = "sha256-BMX+sMPx/YBFA4NFkaY0rl0EPicGHgb6xXVvLEIdllA="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ unittestCheckHook ]; 24 25 meta = { 26 homepage = "https://github.com/mnaberez/py65"; 27 description = "Emulate 6502-based microcomputer systems in Python"; 28 longDescription = '' 29 Py65 includes a program called Py65Mon that functions as a machine 30 language monitor. This kind of program is sometimes also called a 31 debugger. Py65Mon provides a command line with many convenient commands 32 for interacting with the simulated 6502-based system. 33 ''; 34 changelog = "https://github.com/mnaberez/py65/blob/${src.rev}/CHANGES.txt"; 35 license = lib.licenses.bsd3; 36 mainProgram = "py65mon"; 37 maintainers = with lib.maintainers; [ 38 tomasajt 39 ]; 40 }; 41}