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

29 lines
712 B
Nix
Raw Normal View History

{lib, stdenv, fetchFromGitHub, cmake}:
2016-03-09 04:42:32 +00:00
stdenv.mkDerivation rec {
pname = "wla-dx";
2020-07-27 09:48:24 +01:00
version = "9.11";
2016-04-06 10:12:12 +01:00
2016-03-09 04:42:32 +00:00
src = fetchFromGitHub {
owner = "vhelin";
repo = "wla-dx";
rev = "v${version}-fix";
2020-07-27 09:48:24 +01:00
sha256 = "0sz1vqafl7ii3z1710sk0ilvczv8pb4b6lkmg9pr7hqj3kaxndii";
2016-03-09 04:42:32 +00:00
};
2016-04-06 10:12:12 +01:00
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 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;
};
}