Merge pull request #30006 from WilliButz/nasm-run-tests

nasm: run checkPhase
This commit is contained in:
Orivej Desh 2017-10-02 00:06:38 +00:00 committed by GitHub
commit 21976d1fbd

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
name = "nasm-${version}";
@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "1ylqs4sqh0paia970v6hpdgq5icxns9zlg21qql232bz1apppy88";
};
nativeBuildInputs = [ perl ];
doCheck = true;
checkPhase = ''
make golden && make test
'';
meta = with stdenv.lib; {
homepage = http://www.nasm.us/;
description = "An 80x86 and x86-64 assembler designed for portability and modularity";