Merge pull request #279148 from TomaSajt/py65

python312Packages.py65: 1.1.0 -> 1.2.0, clean up

authored by

Pol Dellaiera and committed by
GitHub
093724db a73a91b6

+19 -17
+19 -17
pkgs/development/python-modules/py65/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , pythonOlder 4 - , fetchFromGitHub 5 }: 6 7 buildPythonPackage rec { 8 pname = "py65"; 9 - version = "1.1.0"; 10 - format = "setuptools"; 11 - 12 - disabled = pythonOlder "3.6"; 13 14 src = fetchFromGitHub { 15 owner = "mnaberez"; 16 repo = "py65"; 17 rev = "refs/tags/${version}"; 18 - hash = "sha256-WLs3TAZovuphWZIvMvM3CZnqg1aZfMF4Yrqw46k+bLA="; 19 }; 20 21 - postPatch = '' 22 - substituteInPlace py65/tests/test_monitor.py \ 23 - --replace "test_argv_rom" "dont_test_argv_rom" \ 24 - --replace "test_argv_combination_rom_mpu" "dont_test_argv_combination_rom_mpu" 25 - ''; 26 27 meta = { 28 - homepage = "https://py65.readthedocs.io/"; 29 description = "Emulate 6502-based microcomputer systems in Python"; 30 - mainProgram = "py65mon"; 31 longDescription = '' 32 Py65 includes a program called Py65Mon that functions as a machine 33 language monitor. This kind of program is sometimes also called a 34 debugger. Py65Mon provides a command line with many convenient commands 35 for interacting with the simulated 6502-based system. 36 ''; 37 license = lib.licenses.bsd3; 38 - maintainers = with lib.maintainers; [ AndersonTorres tomasajt ]; 39 }; 40 }
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + setuptools, 6 + unittestCheckHook, 7 }: 8 9 buildPythonPackage rec { 10 pname = "py65"; 11 + version = "1.2.0"; 12 + pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "mnaberez"; 16 repo = "py65"; 17 rev = "refs/tags/${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 + AndersonTorres 39 + tomasajt 40 + ]; 41 }; 42 }