summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-06-05 14:22:49 +0200
committerlassulus <lassulus@lassul.us>2021-06-05 14:22:49 +0200
commit74b63fceb8f5e1bbeb87963e86207b83c7486c3d (patch)
tree512a1192f74ecfbbad1d21d7fae80f969c898386 /lass/5pkgs
parentb55dc75dc62afe544f667bbf6c4ef0c7cec86f22 (diff)
l tdlib-purple: inline old tdlib
Diffstat (limited to 'lass/5pkgs')
-rw-r--r--lass/5pkgs/tdlib-purple/default.nix22
1 files changed, 20 insertions, 2 deletions
diff --git a/lass/5pkgs/tdlib-purple/default.nix b/lass/5pkgs/tdlib-purple/default.nix
index 54841588e..d7937da58 100644
--- a/lass/5pkgs/tdlib-purple/default.nix
+++ b/lass/5pkgs/tdlib-purple/default.nix
@@ -1,6 +1,24 @@
-{ stdenv, fetchFromGitHub, cmake, tdlib, pidgin, libwebp, libtgvoip } :
+{ stdenv, pkgs, fetchFromGitHub, cmake, pidgin, libwebp, libtgvoip } :
-stdenv.mkDerivation rec {
+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";