···1-{ lib, buildPythonApplication, fetchFromGitHub }:
0000023-buildPythonApplication rec {
4- pname = "ophis";
5- version = "unstable-2019-04-13";
067- src = fetchFromGitHub {
8- owner = "michaelcmartin";
9- repo = "Ophis";
10- rev = "99f074da278d4ec80689c0e22e20c5552ea12512";
11- sha256 = "2x8vwLTSngqQqmVrVh/mM4peATgaRqOSwrfm5XCkg/g=";
12- };
1314- sourceRoot = "${src.name}/src";
1516- meta = with lib; {
17- homepage = "http://michaelcmartin.github.io/Ophis/";
18- description = "Cross-assembler for the 6502 series of microprocessors";
19- mainProgram = "ophis";
20- longDescription = ''
21- Ophis is an assembler for the 6502 microprocessor - the famous chip used
22- in the vast majority of the classic 8-bit computers and consoles. Its
23- primary design goals are code readability and output flexibility - Ophis
24- has successfully been used to create programs for the Nintendo
25- Entertainment System, the Atari 2600, and the Commodore 64.
26- '';
27- license = licenses.mit;
28- maintainers = with maintainers; [ AndersonTorres ];
0000029 };
30-}
0
···1+{
2+ lib,
3+ fetchFromGitHub,
4+ python3Packages,
5+ unstableGitUpdater,
6+}:
78+let
9+ self = python3Packages.buildPythonApplication {
10+ pname = "ophis";
11+ version = "0-unstable-2019-04-13";
1213+ src = fetchFromGitHub {
14+ owner = "michaelcmartin";
15+ repo = "Ophis";
16+ rev = "99f074da278d4ec80689c0e22e20c5552ea12512";
17+ hash = "sha256-2x8vwLTSngqQqmVrVh/mM4peATgaRqOSwrfm5XCkg/g=";
18+ };
1920+ sourceRoot = "${self.src.name}/src";
2122+ passthru = {
23+ updateScript = unstableGitUpdater { };
24+ };
25+26+ meta = {
27+ homepage = "http://michaelcmartin.github.io/Ophis/";
28+ description = "Cross-assembler for the 6502 series of microprocessors";
29+ longDescription = ''
30+ Ophis is an assembler for the 6502 microprocessor - the famous chip used
31+ in the vast majority of the classic 8-bit computers and consoles. Its
32+ primary design goals are code readability and output flexibility - Ophis
33+ has successfully been used to create programs for the Nintendo
34+ Entertainment System, the Atari 2600, and the Commodore 64.
35+ '';
36+ license = lib.licenses.mit;
37+ mainProgram = "ophis";
38+ maintainers = with lib.maintainers; [ AndersonTorres ];
39+ };
40 };
41+in
42+self