From 61799a275e1021d61b63c71cec86aa8b3b66d95f Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Thu, 15 Jan 2026 22:21:08 -0500 Subject: [PATCH] remove altserver --- packages/altserver/default.nix | 111 --------------------------------- packages/overlay.nix | 1 - 2 files changed, 112 deletions(-) delete mode 100644 packages/altserver/default.nix diff --git a/packages/altserver/default.nix b/packages/altserver/default.nix deleted file mode 100644 index c09b792..0000000 --- a/packages/altserver/default.nix +++ /dev/null @@ -1,111 +0,0 @@ -{ - lib, - clangStdenv, - fetchFromGitHub, - fetchgit, - requireFile, - cmake, - ninja, - pkg-config, - boost179, - openssl, - avahi, - zlib, - libuuid, - python3, - git, - libimobiledevice, - libplist, - libimobiledevice-glue, - libusbmuxd, - minizip, - websocketpp, - unzip, -}: let - cpprestsdk = fetchFromGitHub { - owner = "microsoft"; - repo = "cpprestsdk"; - rev = "v2.10.18"; - sha256 = "sha256-RCt6BIFxRDTGiIjo5jhIxBeCOQsttWViQcib7M0wZ5Y="; - fetchSubmodules = true; - }; -in - clangStdenv.mkDerivation { - pname = "altserver"; - version = "unstable"; - - src = fetchgit { - url = "https://github.com/sckova/AltServer-Linux"; - rev = "f9173b0805b64517a856fc133955753fde361c63"; - hash = "sha256-ts2YnGTdI5/Ze+7900Wvyxm2YJyQQ0qBlyLMRCAN20c="; - fetchSubmodules = true; - deepClone = true; - }; - - nativeBuildInputs = [ - cmake - ninja - pkg-config - git - unzip - ]; - - buildInputs = [ - boost179 - openssl - avahi - zlib - libuuid - python3 - libimobiledevice - libplist - libimobiledevice-glue - libusbmuxd - minizip - websocketpp - ]; - - NIX_CFLAGS_COMPILE = toString [ - "-D_GNU_SOURCE" - "-Wno-error=implicit-function-declaration" - "-Wno-error=incompatible-pointer-types" - "-Wno-error=int-conversion" - ]; - - cmakeFlags = [ - "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" - "-DCMAKE_C_FLAGS=-Wno-error=incompatible-pointer-types -Wno-implicit-function-declaration" - "-DCMAKE_CXX_FLAGS=-Wno-error=incompatible-pointer-types -Wno-implicit-function-declaration" - "-Wno-dev" - - "-D_XOPEN_SOURCE=700" - - "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" - "-DFETCHCONTENT_SOURCE_DIR_CPPRESTSDK=${cpprestsdk}" - ]; - - postPatch = '' - # The build system tries to link a non-existent static library 'corecrypto_static'. - # We remove this dependency so it relies on the OpenSSL shims/libraries instead. - substituteInPlace cmake/CoreCrypto/CMakeLists.txt \ - --replace-fail "corecrypto_static" "" - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - # Copy the resulting binary (name may vary slightly by fork, finding executable) - find . -maxdepth 2 -type f -executable -name "AltServer" -exec cp {} $out/bin/ \; - - runHook postInstall - ''; - - meta = with lib; { - description = "AltServer for Linux (fork)"; - homepage = "https://github.com/sckova/AltServer-Linux"; - license = licenses.unfree; - platforms = platforms.linux; - maintainers = with maintainers; []; - }; - } diff --git a/packages/overlay.nix b/packages/overlay.nix index 8d9df30..e4cbd75 100644 --- a/packages/overlay.nix +++ b/packages/overlay.nix @@ -1,6 +1,5 @@ final: prev: { spotify-webapp = final.callPackage ./spotify-webapp {}; - altserver-linux = final.callPackage ./altserver {}; openmw = final.callPackage ./openmw { openmw = prev.openmw; inherit (final) openmw-git;