depot/third_party/nixpkgs/pkgs/development/python-modules/py65/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

42 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "py65";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mnaberez";
repo = "py65";
rev = "refs/tags/${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/${src.rev}/CHANGES.txt";
license = lib.licenses.bsd3;
mainProgram = "py65mon";
maintainers = with lib.maintainers; [
AndersonTorres
tomasajt
];
};
}