diff options
author | lassulus <git@lassul.us> | 2023-09-07 12:26:31 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-09-07 12:40:43 +0200 |
commit | 2e5167de1560ad0d7b8e294c72e1913f694160c2 (patch) | |
tree | b618daa9f125650e9276bae7848f854c48d6c95e /lass/5pkgs/tdlib-purple | |
parent | 6a3a423dad19264c0c42821c7676e85ecc122d21 (diff) |
lass: migrate awayriplass
Diffstat (limited to 'lass/5pkgs/tdlib-purple')
-rw-r--r-- | lass/5pkgs/tdlib-purple/default.nix | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/lass/5pkgs/tdlib-purple/default.nix b/lass/5pkgs/tdlib-purple/default.nix deleted file mode 100644 index d7937da58..000000000 --- a/lass/5pkgs/tdlib-purple/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ stdenv, pkgs, fetchFromGitHub, cmake, pidgin, libwebp, libtgvoip } : - -let - - tdlib = stdenv.mkDerivation rec { - version = "1.6.0"; - pname = "tdlib"; - - src = fetchFromGitHub { - owner = "tdlib"; - repo = "td"; - rev = "v${version}"; - sha256 = "0zlzpl6fgszg18kwycyyyrnkm255dvc6fkq0b0y32m5wvwwl36cv"; - }; - - buildInputs = with pkgs; [ gperf openssl readline zlib ]; - nativeBuildInputs = [ pkgs.cmake ]; - - }; - -in stdenv.mkDerivation rec { - pname = "tdlib-purple"; - version = "0.7.8"; - - src = fetchFromGitHub { - owner = "ars3niy"; - repo = pname; - rev = "v${version}"; - sha256 = "17g54mcxsidcx37l6m4p8i06ln1hvq3347dhdl9xkkn7pqpwvv1c"; - }; - - cmakeFlags = [ - "-Dtgvoip_INCLUDE_DIRS=${libtgvoip.dev}/include/tgvoip" - ]; - - nativeBuildInputs = [ cmake ]; - buildInputs = [ pidgin tdlib libwebp libtgvoip ]; - - installPhase = '' - mkdir -p $out/lib/purple-2/ - cp *.so $out/lib/purple-2/ - ''; - - meta = with stdenv.lib; { - homepage = "https://github.com/ars3niy/tdlib-purple"; - description = "New libpurple plugin for Telegram"; - license = licenses.gpl2; - maintainers = [ maintainers.lassulus ]; - platforms = platforms.linux; - }; -} |