mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
27 lines
639 B
Nix
27 lines
639 B
Nix
{ stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "nasm-${version}";
|
|
version = "2.13.02";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.nasm.us/pub/nasm/releasebuilds/${version}/${name}.tar.bz2";
|
|
sha256 = "1gmvjckxvkmx1kbglgrakc98qhy55xlqlk5flrdihz5yhv92hc4d";
|
|
};
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
doCheck = true;
|
|
|
|
checkPhase = ''
|
|
make golden && make test
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.nasm.us/;
|
|
description = "An 80x86 and x86-64 assembler designed for portability and modularity";
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ pSub willibutz ];
|
|
};
|
|
}
|