depot/third_party/nixpkgs/pkgs/by-name/ra/rasm/package.nix
Default email 555cd8a8f9 Project import generated by Copybara.
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
2024-10-09 18:51:18 +02:00

30 lines
740 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "rasm";
version = "2.2.8";
src = fetchFromGitHub {
owner = "EdouardBERGE";
repo = "rasm";
rev = "v${version}";
hash = "sha256-L3kVwB6ZGw8HGqn2m60Grd3fwpTeRK8LeMtmNb4UjdQ=";
};
# by default the EXEC variable contains `rasm.exe`
makeFlags = [ "EXEC=rasm" ];
installPhase = ''
install -Dt $out/bin rasm
'';
meta = {
homepage = "http://rasm.wikidot.com/english-index:home";
description = "Z80 assembler";
mainProgram = "rasm";
# use -n option to display all licenses
license = lib.licenses.mit; # expat version
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.all;
};
}