1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix
2016-04-20 18:55:45 +03:00

33 lines
921 B
Nix

{ stdenv, fetchFromGitHub
, qtbase, qtmultimedia, qtquick1, qmakeHook }:
stdenv.mkDerivation rec {
name = "libqtelegram-aseman-edition-${meta.version}";
src = fetchFromGitHub {
owner = "Aseman-Land";
repo = "libqtelegram-aseman-edition";
rev = "v${meta.version}-stable";
sha256 = "1pfd4pvh51639zk9shv1s4f6pf0ympnhar8a302vhrkga9i4cbx6";
};
buildInputs = [ qtbase qtmultimedia qtquick1 ];
nativeBuildInputs = [ qmakeHook ];
enableParallelBuilding = true;
patchPhase = ''
substituteInPlace libqtelegram-ae.pro --replace "/libqtelegram-ae" ""
substituteInPlace libqtelegram-ae.pro --replace "/\$\$LIB_PATH" ""
'';
meta = with stdenv.lib; {
version = "6.1";
description = "A fork of libqtelegram by Aseman, using qmake";
homepage = src.meta.homepage;
license = licenses.gpl3;
maintainers = [ maintainers.profpatsch ];
platforms = platforms.linux;
};
}