2023-02-11 17:05:13 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2009-01-25 14:31:24 +00:00
|
|
|
|
2023-04-21 14:33:56 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "dev86";
|
2023-02-11 17:05:13 +00:00
|
|
|
version = "unstable-2022-07-19";
|
2014-02-04 16:18:38 +00:00
|
|
|
|
2023-02-11 17:05:13 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jbruchon";
|
|
|
|
repo = "dev86";
|
|
|
|
rev = "f5cd3e5c17a0d3cd8298bac8e30bed6e59c4e57a";
|
|
|
|
hash = "sha256-CWeboFkJkpKHZ/wkuvMj5a+5qB2uzAtoYy8OdyYErMg=";
|
2009-01-25 14:31:24 +00:00
|
|
|
};
|
|
|
|
|
2023-02-11 17:05:13 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2023-02-11 17:05:13 +00:00
|
|
|
# Parallel builds are not supported due to build process structure: tools are
|
|
|
|
# built sequentially in submakefiles and are reusing the same targets as
|
|
|
|
# dependencies. Building dependencies in parallel from different submakes is
|
|
|
|
# not synchronized and fails:
|
2021-11-13 21:38:03 +00:00
|
|
|
# make[3]: Entering directory '/build/dev86-0.16.21/libc'
|
|
|
|
# Unable to execute as86.
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2009-01-25 14:31:24 +00:00
|
|
|
meta = {
|
2023-02-11 17:05:13 +00:00
|
|
|
homepage = "https://github.com/jbruchon/dev86";
|
|
|
|
description =
|
|
|
|
"C compiler, assembler and linker environment for the production of 8086 executables";
|
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ lib.maintainers.AndersonTorres ];
|
2021-01-22 11:25:31 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2009-01-25 14:31:24 +00:00
|
|
|
};
|
2023-02-11 17:05:13 +00:00
|
|
|
})
|