mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-18 03:04:32 +03:00
Revert "dosbox-staging: add meta.changelog"
This reverts commit cb534023c0
.
This commit is contained in:
parent
a9237c3a60
commit
78aa32e76e
@ -1,15 +1,10 @@
|
|||||||
{ lib
|
{ alsa-lib
|
||||||
, stdenv
|
|
||||||
, fetchFromGitHub
|
|
||||||
, SDL2
|
|
||||||
, SDL2_image
|
|
||||||
, SDL2_net
|
|
||||||
, alsa-lib
|
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
|
, fetchFromGitHub
|
||||||
, fluidsynth
|
, fluidsynth
|
||||||
, glib
|
, glib
|
||||||
, gtest
|
, gtest
|
||||||
, irr1
|
, lib
|
||||||
, libGL
|
, libGL
|
||||||
, libGLU
|
, libGLU
|
||||||
, libjack2
|
, libjack2
|
||||||
@ -25,17 +20,22 @@
|
|||||||
, ninja
|
, ninja
|
||||||
, opusfile
|
, opusfile
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, irr1
|
||||||
|
, SDL2
|
||||||
|
, SDL2_image
|
||||||
|
, SDL2_net
|
||||||
, speexdsp
|
, speexdsp
|
||||||
|
, stdenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (self: {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dosbox-staging";
|
pname = "dosbox-staging";
|
||||||
version = "0.80.1";
|
version = "0.80.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dosbox-staging";
|
owner = pname;
|
||||||
repo = "dosbox-staging";
|
repo = pname;
|
||||||
rev = "v${self.version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-I90poBeLSq1c8PXyjrx7/UcbfqFNnnNiXfJdWhLPGMc=";
|
hash = "sha256-I90poBeLSq1c8PXyjrx7/UcbfqFNnnNiXfJdWhLPGMc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -49,9 +49,6 @@ stdenv.mkDerivation (self: {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
SDL2
|
|
||||||
SDL2_image
|
|
||||||
SDL2_net
|
|
||||||
alsa-lib
|
alsa-lib
|
||||||
fluidsynth
|
fluidsynth
|
||||||
glib
|
glib
|
||||||
@ -66,6 +63,9 @@ stdenv.mkDerivation (self: {
|
|||||||
libslirp
|
libslirp
|
||||||
libsndfile
|
libsndfile
|
||||||
opusfile
|
opusfile
|
||||||
|
SDL2
|
||||||
|
SDL2_image
|
||||||
|
SDL2_net
|
||||||
speexdsp
|
speexdsp
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -91,17 +91,17 @@ stdenv.mkDerivation (self: {
|
|||||||
# original dosbox. Doing it this way allows us to work with frontends and
|
# original dosbox. Doing it this way allows us to work with frontends and
|
||||||
# launchers that expect the binary to be named dosbox, but get out of the
|
# launchers that expect the binary to be named dosbox, but get out of the
|
||||||
# way of vanilla dosbox if the user desires to install that as well.
|
# way of vanilla dosbox if the user desires to install that as well.
|
||||||
mv $out/bin/dosbox $out/bin/${self.pname}
|
mv $out/bin/dosbox $out/bin/${pname}
|
||||||
makeWrapper $out/bin/dosbox-staging $out/bin/dosbox
|
makeWrapper $out/bin/dosbox-staging $out/bin/dosbox
|
||||||
|
|
||||||
# Create a symlink to dosbox manual instead of merely copying it
|
# Create a symlink to dosbox manual instead of merely copying it
|
||||||
pushd $out/share/man/man1/
|
pushd $out/share/man/man1/
|
||||||
mv dosbox.1.gz ${self.pname}.1.gz
|
mv dosbox.1.gz ${pname}.1.gz
|
||||||
ln -s ${self.pname}.1.gz dosbox.1.gz
|
ln -s ${pname}.1.gz dosbox.1.gz
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
homepage = "https://dosbox-staging.github.io/";
|
homepage = "https://dosbox-staging.github.io/";
|
||||||
description = "A modernized DOS emulator";
|
description = "A modernized DOS emulator";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -110,14 +110,10 @@ stdenv.mkDerivation (self: {
|
|||||||
existing DOSBox codebase while leveraging modern development tools and
|
existing DOSBox codebase while leveraging modern development tools and
|
||||||
practices.
|
practices.
|
||||||
'';
|
'';
|
||||||
changelog = "https://github.com/dosbox-staging/dosbox-staging/releases/tag/v${self.version}";
|
license = licenses.gpl2Plus;
|
||||||
license = lib.licenses.gpl2Plus;
|
maintainers = with maintainers; [ joshuafern AndersonTorres ];
|
||||||
maintainers = [
|
platforms = platforms.unix;
|
||||||
lib.maintainers.joshuafern
|
|
||||||
lib.maintainers.AndersonTorres
|
|
||||||
];
|
|
||||||
platforms = lib.platforms.unix;
|
|
||||||
priority = 101;
|
priority = 101;
|
||||||
};
|
};
|
||||||
})
|
}
|
||||||
# TODO: report upstream about not finding extra SDL2 libraries
|
# TODO: report upstream about not finding SDL2_net
|
||||||
|
Loading…
Reference in New Issue
Block a user