telegram-purple: 1.3.0 -> 1.3.1, fix gcc8 build

This commit is contained in:
Franz Pletz 2019-01-11 14:03:40 +01:00
parent 779a6f62b1
commit e7556c8d1f
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
1 changed files with 5 additions and 3 deletions

View File

@ -1,17 +1,19 @@
{ stdenv, fetchgit, pkgconfig, pidgin, libwebp, libgcrypt, gettext } : { stdenv, fetchgit, pkgconfig, pidgin, libwebp, libgcrypt, gettext } :
let let
version = "1.3.0"; version = "1.3.1";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "telegram-purple-${version}"; name = "telegram-purple-${version}";
src = fetchgit { src = fetchgit {
url = "https://github.com/majn/telegram-purple"; url = "https://github.com/majn/telegram-purple";
rev = "0340e4f14b2480782db4e5b9242103810227c522"; rev = "v${version}";
sha256 = "1xb7hrgisbpx00dsrm5yz934bdd7nfzicd7k855iynk3hjzqj7k5"; sha256 = "0p93jpjpx7hszwffzgixw04zkrpsiyzz4za3gfr4j07krc4771fp";
}; };
NIX_CFLAGS_COMPILE = [ "-Wno-error=cast-function-type" ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ pidgin libwebp libgcrypt gettext ]; buildInputs = [ pidgin libwebp libgcrypt gettext ];