mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
56b63b91b4
This reverts commit 080b54d766
.
33 lines
921 B
Nix
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;
|
|
};
|
|
|
|
}
|