dff9d10fdb
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03/bin/nasm -h` got 0 exit code - ran `/nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03/bin/nasm help` got 0 exit code - ran `/nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03/bin/nasm -v` and found version 2.13.03 - ran `/nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03/bin/nasm --version` and found version 2.13.03 - ran `/nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03/bin/ndisasm -h` got 0 exit code - ran `/nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03/bin/ndisasm help` got 0 exit code - ran `/nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03/bin/ndisasm -V` and found version 2.13.03 - ran `/nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03/bin/ndisasm -v` and found version 2.13.03 - found 2.13.03 with grep in /nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03 - found 2.13.03 in filename of file in /nix/store/nppkg7zibkkfdsccavaxljl7x1svxvhj-nasm-2.13.03 cc "@pSub @willibutz"
26 lines
639 B
Nix
26 lines
639 B
Nix
{ stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "nasm-${version}";
|
|
version = "2.13.03";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.nasm.us/pub/nasm/releasebuilds/${version}/${name}.tar.bz2";
|
|
sha256 = "04bh736zfj3xy5ihh1whshpjxsisv7hqkz954clzdw6kg93qdv33";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|