2016-03-09 04:42:32 +00:00
|
|
|
{stdenv, fetchFromGitHub, cmake}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-07-04 01:34:20 +01:00
|
|
|
version = "2017-06-05";
|
|
|
|
name = "wla-dx-git-${version}";
|
2016-04-06 10:12:12 +01:00
|
|
|
|
2016-03-09 04:42:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vhelin";
|
|
|
|
repo = "wla-dx";
|
2017-07-04 01:34:20 +01:00
|
|
|
rev = "ae6843f9711cbc2fa6dd8c200877b40bd2bcad7f";
|
|
|
|
sha256 = "09c2kz12ld97ad41j6r8r65jknllrak1x8r43fgr26x7hdlxz5c6";
|
2016-03-09 04:42:32 +00:00
|
|
|
};
|
2016-04-06 10:12:12 +01:00
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2016-03-09 04:42:32 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
install binaries/* $out/bin
|
|
|
|
'';
|
2016-04-06 10:12:12 +01:00
|
|
|
|
2016-03-09 04:42:32 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.villehelin.com/wla.html;
|
2016-03-09 04:42:32 +00:00
|
|
|
description = "Yet Another GB-Z80/Z80/6502/65C02/6510/65816/HUC6280/SPC-700 Multi Platform Cross Assembler Package";
|
|
|
|
license = licenses.gpl2;
|
2016-05-27 14:44:29 +01:00
|
|
|
maintainers = with maintainers; [ matthewbauer ];
|
2016-03-09 04:42:32 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|