at 22.05-pre 892 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "dev86"; 5 version = "0.16.21"; 6 7 src = fetchurl { 8 url = "http://v3.sk/~lkundrak/dev86/Dev86src-${version}.tar.gz"; 9 sha256 = "154dyr2ph4n0kwi8yx0n78j128kw29rk9r9f7s2gddzrdl712jr3"; 10 }; 11 12 hardeningDisable = [ "format" ]; 13 14 makeFlags = [ "PREFIX=$(out)" ]; 15 16 # Parallel builds are not supported due to build process structure: 17 # tools are built sequentially in submakefiles and are reusing the 18 # same targets as dependencies. Building dependencies in parallel 19 # from different submakes is not synchronized and fails: 20 # make[3]: Entering directory '/build/dev86-0.16.21/libc' 21 # Unable to execute as86. 22 enableParallelBuilding = false; 23 24 meta = { 25 description = "Linux 8086 development environment"; 26 homepage = "https://github.com/lkundrak/dev86"; 27 platforms = lib.platforms.linux; 28 }; 29}