mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
32 lines
740 B
Nix
32 lines
740 B
Nix
{ stdenv, fetchurl, SDL, makeDesktopItem }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "dosbox-0.74";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/dosbox/${name}.tar.gz";
|
|
sha256 = "01cfjc5bs08m4w79nbxyv7rnvzq2yckmgrbq36njn06lw8b4kxqk";
|
|
};
|
|
|
|
buildInputs = [ SDL ];
|
|
|
|
desktopItem = makeDesktopItem {
|
|
name = "dosbox";
|
|
exec = "dosbox";
|
|
comment = "x86 emulator with internal DOS";
|
|
desktopName = "DOSBox";
|
|
genericName = "DOS emulator";
|
|
categories = "Application;Emulator;";
|
|
};
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/share/applications
|
|
cp ${desktopItem}/share/applications/* $out/share/applications
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://www.dosbox.com/;
|
|
description = "A DOS emulator";
|
|
};
|
|
}
|