depot/third_party/nixpkgs/pkgs/by-name/ra/rasm/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

30 lines
740 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "rasm";
version = "2.2.6";
src = fetchFromGitHub {
owner = "EdouardBERGE";
repo = "rasm";
rev = "v${version}";
hash = "sha256-DX+i9G+HK0Iek6qmsYQFbieHUtRazKkcyv+gYQ748X0=";
};
# 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;
};
}