nixpkgs/pkgs/development/compilers/ophis/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
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.
2024-03-19 03:14:51 +01:00

31 lines
1.0 KiB
Nix

{ lib, buildPythonApplication, fetchFromGitHub }:
buildPythonApplication rec {
pname = "ophis";
version = "unstable-2019-04-13";
src = fetchFromGitHub {
owner = "michaelcmartin";
repo = "Ophis";
rev = "99f074da278d4ec80689c0e22e20c5552ea12512";
sha256 = "2x8vwLTSngqQqmVrVh/mM4peATgaRqOSwrfm5XCkg/g=";
};
sourceRoot = "${src.name}/src";
meta = with lib; {
homepage = "http://michaelcmartin.github.io/Ophis/";
description = "A cross-assembler for the 6502 series of microprocessors";
mainProgram = "ophis";
longDescription = ''
Ophis is an assembler for the 6502 microprocessor - the famous chip used
in the vast majority of the classic 8-bit computers and consoles. Its
primary design goals are code readability and output flexibility - Ophis
has successfully been used to create programs for the Nintendo
Entertainment System, the Atari 2600, and the Commodore 64.
'';
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
};
}