about summary refs log tree commit diff
path: root/pkgs/development/compilers/yasm/default.nix
blob: 58b8252729a7d3af8340c3306cfcd57c6c5857b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{lib, stdenv, fetchurl, buildPackages}:

stdenv.mkDerivation rec {
  pname = "yasm";
  version = "1.3.0";

  src = fetchurl {
    url = "https://www.tortall.net/projects/yasm/releases/yasm-${version}.tar.gz";
    sha256 = "0gv0slmm0qpq91za3v2v9glff3il594x5xsrbgab7xcmnh0ndkix";
  };

  depsBuildBuild = [ buildPackages.stdenv.cc ];

  meta = with lib; {
    homepage = "http://www.tortall.net/projects/yasm/";
    description = "Complete rewrite of the NASM assembler";
    license = licenses.bsd2;
    platforms = platforms.unix;
  };
}