nasm: run checkPhase
This commit is contained in:
parent
62e6137261
commit
fc7eec3663
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nasm-${version}";
|
name = "nasm-${version}";
|
||||||
@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1ylqs4sqh0paia970v6hpdgq5icxns9zlg21qql232bz1apppy88";
|
sha256 = "1ylqs4sqh0paia970v6hpdgq5icxns9zlg21qql232bz1apppy88";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ perl ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
make golden && make test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.nasm.us/;
|
homepage = http://www.nasm.us/;
|
||||||
description = "An 80x86 and x86-64 assembler designed for portability and modularity";
|
description = "An 80x86 and x86-64 assembler designed for portability and modularity";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user