nixpkgs/pkgs/development/compilers/nasm/default.nix
R. RyanTM f5e2228708 nasm: 2.14 -> 2.14.01
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nasm/versions
2018-12-25 02:20:16 -08:00

28 lines
670 B
Nix

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
name = "nasm-${version}";
version = "2.14.01";
src = fetchurl {
url = "https://www.nasm.us/pub/nasm/releasebuilds/${version}/${name}.tar.bz2";
sha256 = "1v9fazd3in0rphnw5ck58wqnl8dis4dyqpsqgjsm4h9jjj0vylvz";
};
nativeBuildInputs = [ perl ];
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;
};
}