diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-08-12 00:53:16 +0500 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-08-12 00:53:16 +0500 |
| commit | f7746d1482f499257dafc87be27154832edf3781 (patch) | |
| tree | 3255400dbd6faae18cef702ccb6782277bf431fd /pkgs/tdlib | |
| parent | 5772551755e22c8c138dcb72f2900a82423a3384 (diff) | |
feat: remove tdlib
Diffstat (limited to 'pkgs/tdlib')
| -rw-r--r-- | pkgs/tdlib/default.nix | 40 |
1 files changed, 0 insertions, 40 deletions
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 ]; - }; -} |
