depot/pkgs/development/compilers/yasm/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

20 lines
538 B
Nix

{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;
};
}