nixpkgs/pkgs/development/compilers/nasm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
705 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
pname = "nasm";
version = "2.16.01";
2014-11-20 16:58:10 +00:00
src = fetchurl {
url = "https://www.nasm.us/pub/nasm/releasebuilds/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-x3dF9IAjde/u4uxcCta38DfqnIfJKxSaljf/CZ8WJVg=";
};
nativeBuildInputs = [ perl ];
enableParallelBuilding = true;
2017-10-01 23:29:14 +00:00
doCheck = true;
checkPhase = ''
make golden
make test
2017-10-01 23:29:14 +00:00
'';
meta = with lib; {
homepage = "https://www.nasm.us/";
description = "An 80x86 and x86-64 assembler designed for portability and modularity";
platforms = platforms.unix;
2017-08-25 12:42:40 +00:00
maintainers = with maintainers; [ pSub willibutz ];
2018-08-06 10:39:39 +00:00
license = licenses.bsd2;
};
}