about summary refs log tree commit diff
path: root/pkgs/development/python-modules/py65/default.nix
blob: 9f73ed1eb686c5d25db33f27c973955e2eb2af51 (plain) (blame)
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
42
{
  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
    ];
  };
}