1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/development/compilers/nasm/default.nix
Pascal Wittmann 7c19cc3c49
nasm: add license
see issue #43716
2018-08-06 12:39:39 +02:00

28 lines
670 B
Nix

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