Loading pkgs/by-name/al/alephone/package.nix +96 −72 Original line number Diff line number Diff line { lib , stdenv , fetchurl , alsa-lib , boost , curl , ffmpeg_4 , icoutils , libGLU , libmad , libogg , libpng , libsndfile , libvorbis , lua , makeDesktopItem , makeWrapper , miniupnpc , openal , pkg-config , SDL2 , SDL2_image , SDL2_net , SDL2_ttf , speex , unzip , zlib , zziplib , alephone { lib, stdenv, fetchurl, alsa-lib, boost, curl, ffmpeg_4, icoutils, libGLU, libmad, libogg, libpng, libsndfile, libvorbis, lua, makeDesktopItem, makeWrapper, miniupnpc, openal, pkg-config, SDL2, SDL2_image, SDL2_net, SDL2_ttf, speex, unzip, zlib, zziplib, alephone, testers, }: stdenv.mkDerivation (finalAttrs: { outputs = [ "out" "icons" ]; outputs = [ "out" "icons" ]; pname = "alephone"; version = "1.8"; version = "1.8.1"; src = fetchurl { url = let date = "20240510"; in "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${date}/AlephOne-${date}.tar.bz2"; sha256 = "sha256-3+3lTAVOxTTs13uuVsmq4CKmdNkQv+lY7YV1HkIwvDs="; let date = "20240513"; in "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${date}/AlephOne-${date}.tar.bz2"; sha256 = "sha256-IUvMfG4jtN/QXq4DQIDuI0+Bl3MSSwDGKOyjfcRWgvE="; }; nativeBuildInputs = [ pkg-config icoutils ]; nativeBuildInputs = [ pkg-config icoutils ]; buildInputs = [ alsa-lib Loading Loading @@ -81,9 +91,12 @@ stdenv.mkDerivation (finalAttrs: { popd ''; passthru.tests.version = # test that the version is correct testers.testVersion { package = alephone; }; meta = { description = "Aleph One is the open source continuation of Bungie’s Marathon 2 game engine"; description = "Aleph One is the open source continuation of Bungie’s Marathon 2 game engine"; mainProgram = "alephone"; homepage = "https://alephone.lhowon.org/"; license = [ lib.licenses.gpl3 ]; Loading @@ -92,15 +105,17 @@ stdenv.mkDerivation (finalAttrs: { }; passthru.makeWrapper = { pname , desktopName , version , zip , meta , icon ? alephone.icons + "/alephone.png" , ... { pname, desktopName, version, zip, meta, icon ? alephone.icons + "/alephone.png", ... }@extraArgs: stdenv.mkDerivation ({ stdenv.mkDerivation ( { inherit pname version; desktopItem = makeDesktopItem { Loading @@ -114,7 +129,10 @@ stdenv.mkDerivation (finalAttrs: { src = zip; nativeBuildInputs = [ makeWrapper unzip ]; nativeBuildInputs = [ makeWrapper unzip ]; dontConfigure = true; dontBuild = true; Loading @@ -126,11 +144,17 @@ stdenv.mkDerivation (finalAttrs: { makeWrapper ${alephone}/bin/alephone $out/bin/$pname \ --add-flags $out/data/$pname ''; } // extraArgs // { meta = alephone.meta // { } // extraArgs // { meta = alephone.meta // { license = lib.licenses.free; mainProgram = pname; hydraPlatforms = [ ]; } // meta; }); } // meta; } ); }) Loading
pkgs/by-name/al/alephone/package.nix +96 −72 Original line number Diff line number Diff line { lib , stdenv , fetchurl , alsa-lib , boost , curl , ffmpeg_4 , icoutils , libGLU , libmad , libogg , libpng , libsndfile , libvorbis , lua , makeDesktopItem , makeWrapper , miniupnpc , openal , pkg-config , SDL2 , SDL2_image , SDL2_net , SDL2_ttf , speex , unzip , zlib , zziplib , alephone { lib, stdenv, fetchurl, alsa-lib, boost, curl, ffmpeg_4, icoutils, libGLU, libmad, libogg, libpng, libsndfile, libvorbis, lua, makeDesktopItem, makeWrapper, miniupnpc, openal, pkg-config, SDL2, SDL2_image, SDL2_net, SDL2_ttf, speex, unzip, zlib, zziplib, alephone, testers, }: stdenv.mkDerivation (finalAttrs: { outputs = [ "out" "icons" ]; outputs = [ "out" "icons" ]; pname = "alephone"; version = "1.8"; version = "1.8.1"; src = fetchurl { url = let date = "20240510"; in "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${date}/AlephOne-${date}.tar.bz2"; sha256 = "sha256-3+3lTAVOxTTs13uuVsmq4CKmdNkQv+lY7YV1HkIwvDs="; let date = "20240513"; in "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${date}/AlephOne-${date}.tar.bz2"; sha256 = "sha256-IUvMfG4jtN/QXq4DQIDuI0+Bl3MSSwDGKOyjfcRWgvE="; }; nativeBuildInputs = [ pkg-config icoutils ]; nativeBuildInputs = [ pkg-config icoutils ]; buildInputs = [ alsa-lib Loading Loading @@ -81,9 +91,12 @@ stdenv.mkDerivation (finalAttrs: { popd ''; passthru.tests.version = # test that the version is correct testers.testVersion { package = alephone; }; meta = { description = "Aleph One is the open source continuation of Bungie’s Marathon 2 game engine"; description = "Aleph One is the open source continuation of Bungie’s Marathon 2 game engine"; mainProgram = "alephone"; homepage = "https://alephone.lhowon.org/"; license = [ lib.licenses.gpl3 ]; Loading @@ -92,15 +105,17 @@ stdenv.mkDerivation (finalAttrs: { }; passthru.makeWrapper = { pname , desktopName , version , zip , meta , icon ? alephone.icons + "/alephone.png" , ... { pname, desktopName, version, zip, meta, icon ? alephone.icons + "/alephone.png", ... }@extraArgs: stdenv.mkDerivation ({ stdenv.mkDerivation ( { inherit pname version; desktopItem = makeDesktopItem { Loading @@ -114,7 +129,10 @@ stdenv.mkDerivation (finalAttrs: { src = zip; nativeBuildInputs = [ makeWrapper unzip ]; nativeBuildInputs = [ makeWrapper unzip ]; dontConfigure = true; dontBuild = true; Loading @@ -126,11 +144,17 @@ stdenv.mkDerivation (finalAttrs: { makeWrapper ${alephone}/bin/alephone $out/bin/$pname \ --add-flags $out/data/$pname ''; } // extraArgs // { meta = alephone.meta // { } // extraArgs // { meta = alephone.meta // { license = lib.licenses.free; mainProgram = pname; hydraPlatforms = [ ]; } // meta; }); } // meta; } ); })