bochs: new recursive style
This commit is contained in:
parent
2d48f0c18a
commit
d7d1174c93
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue