Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
31 lines
632 B
Nix
31 lines
632 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";
|
|
};
|
|
|
|
patches = [
|
|
# https://github.com/yasm/yasm/pull/287
|
|
./gcc-15.patch
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|