2021-01-22 11:25:31 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2009-01-25 14:31:24 +00:00
|
|
|
|
2016-05-10 02:46:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "dev86";
|
2016-05-10 02:46:34 +01:00
|
|
|
version = "0.16.21";
|
2014-02-04 16:18:38 +00:00
|
|
|
|
2009-01-25 14:31:24 +00:00
|
|
|
src = fetchurl {
|
2016-05-10 02:46:34 +01:00
|
|
|
url = "http://v3.sk/~lkundrak/dev86/Dev86src-${version}.tar.gz";
|
|
|
|
sha256 = "154dyr2ph4n0kwi8yx0n78j128kw29rk9r9f7s2gddzrdl712jr3";
|
2009-01-25 14:31:24 +00:00
|
|
|
};
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2009-01-25 14:31:24 +00:00
|
|
|
|
2021-11-13 21:38:03 +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:
|
|
|
|
# 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 = {
|
|
|
|
description = "Linux 8086 development environment";
|
2021-11-13 21:38:03 +00:00
|
|
|
homepage = "https://github.com/lkundrak/dev86";
|
2021-01-22 11:25:31 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2009-01-25 14:31:24 +00:00
|
|
|
};
|
|
|
|
}
|