nixpkgs/pkgs/development/compilers/nasm/default.nix

27 lines
639 B
Nix
Raw Normal View History

2017-10-01 16:29:14 -07:00
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
2014-06-08 18:43:16 -07:00
name = "nasm-${version}";
version = "2.13.03";
2014-11-20 08:58:10 -08:00
src = fetchurl {
2014-06-08 18:43:16 -07:00
url = "http://www.nasm.us/pub/nasm/releasebuilds/${version}/${name}.tar.bz2";
sha256 = "04bh736zfj3xy5ihh1whshpjxsisv7hqkz954clzdw6kg93qdv33";
};
2017-10-01 16:29:14 -07:00
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;
2017-08-25 05:42:40 -07:00
maintainers = with maintainers; [ pSub willibutz ];
};
}