2010-12-22 18:34:21 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2009-01-25 14:31:24 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-08-30 10:07:45 +01:00
|
|
|
name = "dev86-0.16.19";
|
2014-02-04 16:18:38 +00:00
|
|
|
|
2009-01-25 14:31:24 +00:00
|
|
|
src = fetchurl {
|
2012-08-30 10:07:45 +01:00
|
|
|
url = http://www.debath.co.uk/dev86/Dev86src-0.16.19.tar.gz;
|
|
|
|
sha256 = "33398b87ca85e2b69e4062cf59f2f7354af46da5edcba036c6f97bae17b8d00e";
|
2009-01-25 14:31:24 +00:00
|
|
|
};
|
|
|
|
|
2016-01-23 21:19:59 +00:00
|
|
|
hardening_format = false;
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2010-12-22 18:34:21 +00:00
|
|
|
makeFlags = "PREFIX=$(out)";
|
2009-01-25 14:31:24 +00:00
|
|
|
|
2010-12-22 18:34:21 +00:00
|
|
|
# Awful hackery to get dev86 to compile with recent gcc/binutils.
|
|
|
|
# See http://bugs.gentoo.org/214964 for some inconclusive
|
|
|
|
# discussion.
|
|
|
|
preBuild =
|
|
|
|
''
|
|
|
|
substituteInPlace makefile.in --replace "-O2" "" --replace "-O" ""
|
|
|
|
'';
|
2014-02-04 16:18:38 +00:00
|
|
|
|
2009-01-25 14:31:24 +00:00
|
|
|
meta = {
|
|
|
|
description = "Linux 8086 development environment";
|
2009-01-25 21:03:07 +00:00
|
|
|
homepage = http://www.debath.co.uk/;
|
2009-01-25 14:31:24 +00:00
|
|
|
};
|
|
|
|
}
|