summary refs log tree commit diff
path: root/pkgs/development/compilers/wla-dx/default.nix
blob: 2ea2faa3e09e9745defff5f84595765d9aa2c9ed (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
{stdenv, fetchFromGitHub, cmake}:

stdenv.mkDerivation rec {
  version = "2017-06-05";
  name = "wla-dx-git-${version}";

  src = fetchFromGitHub {
    owner = "vhelin";
    repo = "wla-dx";
    rev = "ae6843f9711cbc2fa6dd8c200877b40bd2bcad7f";
    sha256 = "09c2kz12ld97ad41j6r8r65jknllrak1x8r43fgr26x7hdlxz5c6";
  };

  hardeningDisable = [ "format" ];

  installPhase = ''
    mkdir -p $out/bin
    install binaries/* $out/bin
  '';

  nativeBuildInputs = [ cmake ];

  meta = with stdenv.lib; {
    homepage = "http://www.villehelin.com/wla.html";
    description = "Yet Another GB-Z80/Z80/6502/65C02/6510/65816/HUC6280/SPC-700 Multi Platform Cross Assembler Package";
    license = licenses.gpl2;
    maintainers = with maintainers; [ matthewbauer ];
    platforms = platforms.all;
  };
}