diff options
author | makefu <github@syntax-fehler.de> | 2021-06-05 14:59:56 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-06-05 14:59:56 +0200 |
commit | ced3b0f76e74023c1ba99eaa791673cb6f4940e6 (patch) | |
tree | af0432cdbd4d7a21e2aa70b7e6d7585becd4c82d /lass/5pkgs/tdlib-purple/default.nix | |
parent | fb8907aa1c0e4c0b0c5dc421f55ef8b94c5db193 (diff) | |
parent | 7fa69b3399d8b52526928df81b2a6cad3f931a28 (diff) |
Merge remote-tracking branch 'lass/21.05' into 21.05
Diffstat (limited to 'lass/5pkgs/tdlib-purple/default.nix')
-rw-r--r-- | lass/5pkgs/tdlib-purple/default.nix | 22 |
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"; |