nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-beta 28 lines 751 B view raw
1{ stdenvNoCC, lib, fetchurl }: 2 3stdenvNoCC.mkDerivation (finalAttrs: { 4 pname = "fasm-bin"; 5 version = "1.73.32"; 6 7 src = fetchurl { 8 url = "https://flatassembler.net/fasm-${finalAttrs.version}.tgz"; 9 hash = "sha256-WVXL4UNWXa9e7K3MSS0CXK3lczgog9V4XUoYChvvym8="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -D fasm${lib.optionalString stdenvNoCC.isx86_64 ".x64"} $out/bin/fasm 16 17 runHook postInstall 18 ''; 19 20 meta = { 21 description = "x86(-64) macro assembler to binary, MZ, PE, COFF, and ELF"; 22 homepage = "https://flatassembler.net/download.php"; 23 license = lib.licenses.bsd2; 24 mainProgram = "fasm"; 25 maintainers = with lib.maintainers; [ orivej ]; 26 platforms = [ "i686-linux" "x86_64-linux" ]; 27 }; 28})