btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / de / dev86 / package.nix
blobc42c4ce88c1579fc095cfdc03890d684be868606
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 }:
6 stdenv.mkDerivation (finalAttrs: {
7   pname = "dev86";
8   version = "unstable-2022-07-19";
10   src = fetchFromGitHub {
11     owner = "jbruchon";
12     repo = "dev86";
13     rev = "f5cd3e5c17a0d3cd8298bac8e30bed6e59c4e57a";
14     hash = "sha256-CWeboFkJkpKHZ/wkuvMj5a+5qB2uzAtoYy8OdyYErMg=";
15   };
17   makeFlags = [ "PREFIX=${placeholder "out"}" ];
19   # Parallel builds are not supported due to build process structure: tools are
20   # built sequentially in submakefiles and are reusing the same targets as
21   # dependencies. Building dependencies in parallel from different submakes is
22   # not synchronized and fails:
23   #     make[3]: Entering directory '/build/dev86-0.16.21/libc'
24   #     Unable to execute as86.
25   enableParallelBuilding = false;
27   meta = {
28     homepage = "https://github.com/jbruchon/dev86";
29     description =
30       "C compiler, assembler and linker environment for the production of 8086 executables";
31     license = lib.licenses.gpl2Plus;
32     maintainers = [ lib.maintainers.AndersonTorres ];
33     platforms = lib.platforms.linux;
34   };