Merge #302181: nasm: 2.16.01 -> 2.16.02

...into staging
This commit is contained in:
Vladimír Čunát 2024-04-10 08:26:26 +02:00
commit 0d3c83bb69
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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";