aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2025-08-12 00:53:16 +0500
committerspl3g <spleefer6@yandex.ru>2025-08-12 00:53:16 +0500
commitf7746d1482f499257dafc87be27154832edf3781 (patch)
tree3255400dbd6faae18cef702ccb6782277bf431fd /pkgs
parent5772551755e22c8c138dcb72f2900a82423a3384 (diff)
feat: remove tdlib
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/default.nix1
-rw-r--r--pkgs/tdlib/default.nix40
2 files changed, 0 insertions, 41 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 5bc1238..0a83252 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -1,7 +1,6 @@
{ pkgs ? import <nixpkgs> { } }: {
tgs2png = pkgs.callPackage ./tgs2png { };
pokemon-colorscripts = pkgs.callPackage ./pokemon-colorscripts { };
- tdlib = pkgs.callPackage ./tdlib { };
spmp = pkgs.callPackage ./spmp { };
spmp-server = pkgs.callPackage ./spmp-server { };
hydralauncher = pkgs.callPackage ./hydralauncher { };
diff --git a/pkgs/tdlib/default.nix b/pkgs/tdlib/default.nix
deleted file mode 100644
index d81747e..0000000
--- a/pkgs/tdlib/default.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, lib, stdenv }:
-
-stdenv.mkDerivation rec {
- pname = "tdlib";
- version = "1.8.23";
-
- src = fetchFromGitHub {
- owner = "tdlib";
- repo = "td";
-
- # The tdlib authors do not set tags for minor versions, but
- # external programs depending on tdlib constrain the minor
- # version, hence we set a specific commit with a known version.
- rev = "404761c525d933df813702c863828058cd26111a";
- hash = "sha256-wyuGsLZFDRgziBPD9kvn2BJpPcVQCY2kU4j7Qy+9H6o==";
- };
-
- buildInputs = [ gperf openssl readline zlib ];
- nativeBuildInputs = [ cmake ];
-
- # https://github.com/tdlib/td/issues/1974
- postPatch = ''
- substituteInPlace CMake/GeneratePkgConfig.cmake \
- --replace 'function(generate_pkgconfig' \
- 'include(GNUInstallDirs)
- function(generate_pkgconfig' \
- --replace '\$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
- --replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
- '' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
- sed -i "/vptr/d" test/CMakeLists.txt
- '';
-
- meta = with lib; {
- description = "Cross-platform library for building Telegram clients";
- homepage = "https://core.telegram.org/tdlib/";
- license = [ licenses.boost ];
- platforms = platforms.unix;
- maintainers = [ maintainers.vyorkin ];
- };
-}