571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
29 lines
712 B
Nix
29 lines
712 B
Nix
{lib, stdenv, fetchFromGitHub, cmake}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wla-dx";
|
|
version = "9.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vhelin";
|
|
repo = "wla-dx";
|
|
rev = "v${version}-fix";
|
|
sha256 = "0sz1vqafl7ii3z1710sk0ilvczv8pb4b6lkmg9pr7hqj3kaxndii";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
install binaries/* $out/bin
|
|
'';
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://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;
|
|
};
|
|
}
|