Unverified Commit dac1e3d3 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #272208 from r-ryantm/auto-update/fasm

fasm: 1.73.31 -> 1.73.32
parents d9b360c1 24f6a70f
Loading
Loading
Loading
Loading
+13 −9
Original line number Diff line number Diff line
{ stdenvNoCC, lib, fetchurl }:

stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "fasm-bin";

  version = "1.73.31";
  version = "1.73.32";

  src = fetchurl {
    url = "https://flatassembler.net/fasm-${version}.tgz";
    sha256 = "sha256-jzjLIayR+xulSGKhvQ9VxWhZC6qRZ/4IHSe3lD8LD+M=";
    url = "https://flatassembler.net/fasm-${finalAttrs.version}.tgz";
    hash = "sha256-WVXL4UNWXa9e7K3MSS0CXK3lczgog9V4XUoYChvvym8=";
  };

  installPhase = ''
    runHook preInstall

    install -D fasm${lib.optionalString stdenvNoCC.isx86_64 ".x64"} $out/bin/fasm

    runHook postInstall
  '';

  meta = with lib; {
  meta = {
    description = "x86(-64) macro assembler to binary, MZ, PE, COFF, and ELF";
    homepage = "https://flatassembler.net/download.php";
    license = licenses.bsd2;
    maintainers = with maintainers; [ orivej ];
    license = lib.licenses.bsd2;
    mainProgram = "fasm";
    maintainers = with lib.maintainers; [ orivej ];
    platforms = [ "i686-linux" "x86_64-linux" ];
  };
}
})