3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/nasm/default.nix

28 lines
667 B
Nix
Raw Normal View History

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