bochs: new recursive style

This commit is contained in:
AndersonTorres 2022-07-02 12:36:06 -03:00
parent 2d48f0c18a
commit d7d1174c93

View file

@ -18,12 +18,12 @@
, wxGTK
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "bochs";
version = "2.7";
src = fetchurl {
url = "mirror://sourceforge/project/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
url = "mirror://sourceforge/project/${finalAttrs.pname}/${finalAttrs.pname}/${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
hash = "sha256-oBCrG/3HKsWgjS4kEs1HHA/r1mrx2TSbwNeWh53lsXo=";
};
@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
libtool
pkg-config
];
buildInputs = [
SDL2
curl
@ -132,6 +133,6 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
broken = stdenv.isDarwin;
};
}
})
# TODO: a better way to organize the options
# TODO: docbook (docbook-tools from RedHat mirrors should help)