blob: b6da376554b1d4fc8f9701db78d075c214442374 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "py65";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mnaberez";
repo = "py65";
tag = finalAttrs.version;
hash = "sha256-BMX+sMPx/YBFA4NFkaY0rl0EPicGHgb6xXVvLEIdllA=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
meta = {
homepage = "https://github.com/mnaberez/py65";
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.
'';
changelog = "https://github.com/mnaberez/py65/blob/${finalAttrs.src.rev}/CHANGES.txt";
license = lib.licenses.bsd3;
mainProgram = "py65mon";
maintainers = with lib.maintainers; [
tomasajt
];
};
})
|