nixpkgs/pkgs/development/compilers/rasm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
730 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2019-11-16 21:32:12 +00:00
stdenv.mkDerivation rec {
pname = "rasm";
version = "2.2.3";
2019-11-16 21:32:12 +00:00
src = fetchFromGitHub {
owner = "EdouardBERGE";
repo = "rasm";
rev = "v${version}";
hash = "sha256-cG/RZqZRS5uuXlQo7hylCEfbXXLBa68NXsr1iQCjhNc=";
2019-11-16 21:32:12 +00:00
};
# by default the EXEC variable contains `rasm.exe`
makeFlags = [ "EXEC=rasm" ];
2019-11-16 21:32:12 +00:00
installPhase = ''
install -Dt $out/bin rasm
'';
meta = with lib; {
2019-11-16 21:32:12 +00:00
homepage = "http://www.roudoudou.com/rasm/";
description = "Z80 assembler";
mainProgram = "rasm";
2019-11-16 21:32:12 +00:00
# use -n option to display all licenses
license = licenses.mit; # expat version
maintainers = with lib.maintainers; [ sigmanificient ];
2021-03-03 11:51:40 +00:00
platforms = platforms.all;
2019-11-16 21:32:12 +00:00
};
}