ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{ 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";
|
|
mainProgram = "py65mon";
|
|
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 ];
|
|
};
|
|
}
|