forked from mirrors/nixpkgs
3b7f2b006e
https://nasm.us/doc/nasmdocc.html https://nvd.nist.gov/vuln/detail/CVE-2019-6290 https://nvd.nist.gov/vuln/detail/CVE-2019-6291 https://nvd.nist.gov/vuln/detail/CVE-2019-8343 https://nvd.nist.gov/vuln/detail/CVE-2019-14248 https://nvd.nist.gov/vuln/detail/CVE-2019-20334
31 lines
708 B
Nix
31 lines
708 B
Nix
{ stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "nasm";
|
|
version = "2.15.05";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.nasm.us/pub/nasm/releasebuilds/${version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0gqand86b0r86k3h46dh560lykxmxqqywz5m55kgjfq7q4lngbrw";
|
|
};
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
checkPhase = ''
|
|
make golden
|
|
make test
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://www.nasm.us/";
|
|
description = "An 80x86 and x86-64 assembler designed for portability and modularity";
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ pSub willibutz ];
|
|
license = licenses.bsd2;
|
|
};
|
|
}
|