nixpkgs/pkgs/development/compilers/wla-dx/default.nix

29 lines
714 B
Nix
Raw Normal View History

2016-03-09 04:42:32 +00:00
{stdenv, fetchFromGitHub, cmake}:
stdenv.mkDerivation rec {
pname = "wla-dx";
2020-07-27 08:48:24 +00:00
version = "9.11";
2016-04-06 09:12:12 +00:00
2016-03-09 04:42:32 +00:00
src = fetchFromGitHub {
owner = "vhelin";
repo = "wla-dx";
rev = "v${version}-fix";
2020-07-27 08:48:24 +00:00
sha256 = "0sz1vqafl7ii3z1710sk0ilvczv8pb4b6lkmg9pr7hqj3kaxndii";
2016-03-09 04:42:32 +00:00
};
2016-04-06 09:12:12 +00:00
2016-03-09 04:42:32 +00:00
installPhase = ''
mkdir -p $out/bin
install binaries/* $out/bin
'';
2016-04-06 09:12:12 +00:00
2016-03-09 04:42:32 +00:00
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = "https://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;
maintainers = with maintainers; [ matthewbauer ];
2016-03-09 04:42:32 +00:00
platforms = platforms.all;
};
}