blob: a94373e558f81dcf8fef8f8a79663fdea18f34cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
lib,
stdenv,
fetchurl,
buildPackages,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "yasm";
version = "1.3.0";
src = fetchurl {
url = "https://www.tortall.net/projects/yasm/releases/yasm-${finalAttrs.version}.tar.gz";
sha256 = "0gv0slmm0qpq91za3v2v9glff3il594x5xsrbgab7xcmnh0ndkix";
};
patches = [
# https://github.com/yasm/yasm/pull/287
./gcc-15.patch
];
depsBuildBuild = [ buildPackages.stdenv.cc ];
meta = {
homepage = "http://www.tortall.net/projects/yasm/";
description = "Complete rewrite of the NASM assembler";
license = lib.licenses.bsd2;
platforms = lib.platforms.unix;
};
})
|