Merge pull request #215860 from atorres1985-contrib/small-fixups

authored by

Anderson Torres and committed by
GitHub
e11d514b d7d2e66e

+33 -29
+28 -24
pkgs/applications/emulators/dosbox-staging/default.nix
··· 1 - { alsa-lib 2 , copyDesktopItems 3 - , fetchFromGitHub 4 , fluidsynth 5 , glib 6 , gtest 7 - , lib 8 , libGL 9 , libGLU 10 , libjack2 ··· 20 , ninja 21 , opusfile 22 , pkg-config 23 - , irr1 24 - , SDL2 25 - , SDL2_image 26 - , SDL2_net 27 , speexdsp 28 - , stdenv 29 }: 30 31 - stdenv.mkDerivation rec { 32 pname = "dosbox-staging"; 33 version = "0.80.1"; 34 35 src = fetchFromGitHub { 36 - owner = pname; 37 - repo = pname; 38 - rev = "v${version}"; 39 hash = "sha256-I90poBeLSq1c8PXyjrx7/UcbfqFNnnNiXfJdWhLPGMc="; 40 }; 41 ··· 49 ]; 50 51 buildInputs = [ 52 alsa-lib 53 fluidsynth 54 glib ··· 63 libslirp 64 libsndfile 65 opusfile 66 - SDL2 67 - SDL2_image 68 - SDL2_net 69 speexdsp 70 ]; 71 ··· 91 # original dosbox. Doing it this way allows us to work with frontends and 92 # launchers that expect the binary to be named dosbox, but get out of the 93 # way of vanilla dosbox if the user desires to install that as well. 94 - mv $out/bin/dosbox $out/bin/${pname} 95 makeWrapper $out/bin/dosbox-staging $out/bin/dosbox 96 97 # Create a symlink to dosbox manual instead of merely copying it 98 pushd $out/share/man/man1/ 99 - mv dosbox.1.gz ${pname}.1.gz 100 - ln -s ${pname}.1.gz dosbox.1.gz 101 popd 102 ''; 103 104 - meta = with lib; { 105 homepage = "https://dosbox-staging.github.io/"; 106 description = "A modernized DOS emulator"; 107 longDescription = '' ··· 110 existing DOSBox codebase while leveraging modern development tools and 111 practices. 112 ''; 113 - license = licenses.gpl2Plus; 114 - maintainers = with maintainers; [ joshuafern AndersonTorres ]; 115 - platforms = platforms.unix; 116 priority = 101; 117 }; 118 - } 119 - # TODO: report upstream about not finding SDL2_net
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , SDL2 5 + , SDL2_image 6 + , SDL2_net 7 + , alsa-lib 8 , copyDesktopItems 9 , fluidsynth 10 , glib 11 , gtest 12 + , irr1 13 , libGL 14 , libGLU 15 , libjack2 ··· 25 , ninja 26 , opusfile 27 , pkg-config 28 , speexdsp 29 }: 30 31 + stdenv.mkDerivation (self: { 32 pname = "dosbox-staging"; 33 version = "0.80.1"; 34 35 src = fetchFromGitHub { 36 + owner = "dosbox-staging"; 37 + repo = "dosbox-staging"; 38 + rev = "v${self.version}"; 39 hash = "sha256-I90poBeLSq1c8PXyjrx7/UcbfqFNnnNiXfJdWhLPGMc="; 40 }; 41 ··· 49 ]; 50 51 buildInputs = [ 52 + SDL2 53 + SDL2_image 54 + SDL2_net 55 alsa-lib 56 fluidsynth 57 glib ··· 66 libslirp 67 libsndfile 68 opusfile 69 speexdsp 70 ]; 71 ··· 91 # original dosbox. Doing it this way allows us to work with frontends and 92 # launchers that expect the binary to be named dosbox, but get out of the 93 # way of vanilla dosbox if the user desires to install that as well. 94 + mv $out/bin/dosbox $out/bin/${self.pname} 95 makeWrapper $out/bin/dosbox-staging $out/bin/dosbox 96 97 # Create a symlink to dosbox manual instead of merely copying it 98 pushd $out/share/man/man1/ 99 + mv dosbox.1.gz ${self.pname}.1.gz 100 + ln -s ${self.pname}.1.gz dosbox.1.gz 101 popd 102 ''; 103 104 + meta = { 105 homepage = "https://dosbox-staging.github.io/"; 106 description = "A modernized DOS emulator"; 107 longDescription = '' ··· 110 existing DOSBox codebase while leveraging modern development tools and 111 practices. 112 ''; 113 + changelog = "https://github.com/dosbox-staging/dosbox-staging/releases/tag/v${self.version}"; 114 + license = lib.licenses.gpl2Plus; 115 + maintainers = [ 116 + lib.maintainers.joshuafern 117 + lib.maintainers.AndersonTorres 118 + ]; 119 + platforms = lib.platforms.unix; 120 priority = 101; 121 }; 122 + }) 123 + # TODO: report upstream about not finding extra SDL2 libraries
+5 -5
pkgs/development/libraries/irr1/default.nix
··· 4 , cmake 5 }: 6 7 - stdenv.mkDerivation rec { 8 pname = "irr1"; 9 version = "1.9.4"; 10 11 src = fetchFromGitHub { 12 owner = "berndporr"; 13 repo = "iir1"; 14 - rev = version; 15 hash = "sha256-T8gl51IkZIGq+6D5ge4Kb3wm5aw7Rhphmnf6TTGwHbs="; 16 }; 17 18 nativeBuildInputs = [ cmake ]; 19 20 meta = { 21 - description = "A DSP IIR realtime filter library written in C++"; 22 - downloadPage = "https://github.com/berndporr/iir1"; 23 homepage = "http://berndporr.github.io/iir1/"; 24 license = lib.licenses.mit; 25 maintainers = [ lib.maintainers.AndersonTorres ]; 26 platforms = lib.platforms.unix; 27 }; 28 - }
··· 4 , cmake 5 }: 6 7 + stdenv.mkDerivation (self: { 8 pname = "irr1"; 9 version = "1.9.4"; 10 11 src = fetchFromGitHub { 12 owner = "berndporr"; 13 repo = "iir1"; 14 + rev = self.version; 15 hash = "sha256-T8gl51IkZIGq+6D5ge4Kb3wm5aw7Rhphmnf6TTGwHbs="; 16 }; 17 18 nativeBuildInputs = [ cmake ]; 19 20 meta = { 21 homepage = "http://berndporr.github.io/iir1/"; 22 + description = "A DSP IIR realtime filter library written in C++"; 23 + changelog = "https://github.com/berndporr/iir1/releases/tag/${self.version}"; 24 license = lib.licenses.mit; 25 maintainers = [ lib.maintainers.AndersonTorres ]; 26 platforms = lib.platforms.unix; 27 }; 28 + })