Merge pull request #27705 from binarin/dosbox-unstable-init

dosbox-unstable: init at 2017-07-02
This commit is contained in:
Benno Fünfstück 2017-07-28 11:38:32 +02:00 committed by GitHub
commit 727c54639e
3 changed files with 41 additions and 0 deletions

View file

@ -75,6 +75,7 @@
berdario = "Dario Bertini <berdario@gmail.com>";
bergey = "Daniel Bergey <bergey@teallabs.org>";
bhipple = "Benjamin Hipple <bhipple@protonmail.com>";
binarin = "Alexey Lebedeff <binarin@binarin.ru>";
bjg = "Brian Gough <bjg@gnu.org>";
bjornfor = "Bjørn Forsman <bjorn.forsman@gmail.com>";
bluescreen303 = "Mathijs Kwik <mathijs@bluescreen303.nl>";

View file

@ -0,0 +1,39 @@
{ stdenv, fetchurl, fetchsvn, SDL, SDL_net, SDL_sound, libpng, makeDesktopItem, mesa, autoreconfHook }:
let revision = "4025";
revisionDate = "2017-07-02";
revisionSha = "0hbghdlvm6qibp0df35qxq35km4nza3sm301x380ghamxq2vgy6a";
in stdenv.mkDerivation rec {
name = "dosbox-unstable-${revisionDate}";
src = fetchsvn {
url = "https://dosbox.svn.sourceforge.net/svnroot/dosbox/dosbox/trunk";
rev = revision;
sha256 = revisionSha;
};
hardeningDisable = [ "format" ];
buildInputs = [ SDL SDL_net SDL_sound libpng mesa autoreconfHook ];
desktopItem = makeDesktopItem {
name = "dosbox";
exec = "dosbox";
comment = "x86 emulator with internal DOS";
desktopName = "DOSBox (SVN)";
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";
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ binarin ];
};
}

View file

@ -18537,6 +18537,7 @@ with pkgs;
dell-530cdn = callPackage ../misc/drivers/dell-530cdn {};
dosbox = callPackage ../misc/emulators/dosbox { };
dosbox-unstable = callPackage ../misc/emulators/dosbox/unstable.nix { };
dpkg = callPackage ../tools/package-management/dpkg { };