blob: 5e79bb7ae9b8f0e5ca782487e9cc87118199f554 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "rasm";
version = "2.2.5";
src = fetchFromGitHub {
owner = "EdouardBERGE";
repo = "rasm";
rev = "v${version}";
hash = "sha256-m2XRi9RF089dBpkwcu/zgmd3XnBF4uJU5B4ec4WJ36I=";
};
# 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;
};
}
|