nasm: 2.16.01 -> 2.16.02
Changes: https://www.nasm.us/xdoc/2.16.02/html/nasmdocc.html#section-C.1.1
This commit is contained in:
parent
f6eb921406
commit
46544475f6
|
@ -1,12 +1,17 @@
|
|||
{ lib, stdenv, fetchurl, perl }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, perl
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nasm";
|
||||
version = "2.16.01";
|
||||
version = "2.16.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.nasm.us/pub/nasm/releasebuilds/${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-x3dF9IAjde/u4uxcCta38DfqnIfJKxSaljf/CZ8WJVg=";
|
||||
sha256 = "sha256-HhuULqiPIu2uiWWeFb4m+gJ+rgdH9RQTVA9S1OrEeQ0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
@ -16,10 +21,20 @@ stdenv.mkDerivation rec {
|
|||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
make golden
|
||||
make test
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
url = "https://github.com/netwide-assembler/nasm.git";
|
||||
rev-prefix = "nasm-";
|
||||
ignoredVersions = "rc.*";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.nasm.us/";
|
||||
description = "An 80x86 and x86-64 assembler designed for portability and modularity";
|
||||
|
|
Loading…
Reference in New Issue