···11-{ lib, buildPythonApplication, fetchFromGitHub }:
11+{
22+ lib,
33+ fetchFromGitHub,
44+ python3Packages,
55+ unstableGitUpdater,
66+}:
2733-buildPythonApplication rec {
44- pname = "ophis";
55- version = "unstable-2019-04-13";
88+let
99+ self = python3Packages.buildPythonApplication {
1010+ pname = "ophis";
1111+ version = "0-unstable-2019-04-13";
61277- src = fetchFromGitHub {
88- owner = "michaelcmartin";
99- repo = "Ophis";
1010- rev = "99f074da278d4ec80689c0e22e20c5552ea12512";
1111- sha256 = "2x8vwLTSngqQqmVrVh/mM4peATgaRqOSwrfm5XCkg/g=";
1212- };
1313+ src = fetchFromGitHub {
1414+ owner = "michaelcmartin";
1515+ repo = "Ophis";
1616+ rev = "99f074da278d4ec80689c0e22e20c5552ea12512";
1717+ hash = "sha256-2x8vwLTSngqQqmVrVh/mM4peATgaRqOSwrfm5XCkg/g=";
1818+ };
13191414- sourceRoot = "${src.name}/src";
2020+ sourceRoot = "${self.src.name}/src";
15211616- meta = with lib; {
1717- homepage = "http://michaelcmartin.github.io/Ophis/";
1818- description = "Cross-assembler for the 6502 series of microprocessors";
1919- mainProgram = "ophis";
2020- longDescription = ''
2121- Ophis is an assembler for the 6502 microprocessor - the famous chip used
2222- in the vast majority of the classic 8-bit computers and consoles. Its
2323- primary design goals are code readability and output flexibility - Ophis
2424- has successfully been used to create programs for the Nintendo
2525- Entertainment System, the Atari 2600, and the Commodore 64.
2626- '';
2727- license = licenses.mit;
2828- maintainers = with maintainers; [ AndersonTorres ];
2222+ passthru = {
2323+ updateScript = unstableGitUpdater { };
2424+ };
2525+2626+ meta = {
2727+ homepage = "http://michaelcmartin.github.io/Ophis/";
2828+ description = "Cross-assembler for the 6502 series of microprocessors";
2929+ longDescription = ''
3030+ Ophis is an assembler for the 6502 microprocessor - the famous chip used
3131+ in the vast majority of the classic 8-bit computers and consoles. Its
3232+ primary design goals are code readability and output flexibility - Ophis
3333+ has successfully been used to create programs for the Nintendo
3434+ Entertainment System, the Atari 2600, and the Commodore 64.
3535+ '';
3636+ license = lib.licenses.mit;
3737+ mainProgram = "ophis";
3838+ maintainers = with lib.maintainers; [ AndersonTorres ];
3939+ };
2940 };
3030-}
4141+in
4242+self