f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
41 lines
1.3 KiB
Nix
41 lines
1.3 KiB
Nix
{ stdenv, fetchgit
|
|
, qtbase, qtmultimedia, qtquick1, qtquickcontrols
|
|
, qtimageformats, qtgraphicaleffects, qtwebkit
|
|
, telegram-qml, libqtelegram-aseman-edition
|
|
, gst_all_1
|
|
, makeWrapper, qmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cutegram-${meta.version}";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/Aseman-Land/Cutegram.git";
|
|
rev = "1dbe2792fb5a1760339379907f906e236c09db84";
|
|
sha256 = "146vd3ri05da2asxjjxibnqmb685lgwl2kaz7mwb7ja7vi4149f0";
|
|
};
|
|
|
|
buildInputs =
|
|
[ qtbase qtmultimedia qtquick1 qtquickcontrols
|
|
qtimageformats qtgraphicaleffects qtwebkit
|
|
telegram-qml libqtelegram-aseman-edition
|
|
] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ]);
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
nativeBuildInputs = [ makeWrapper qmake ];
|
|
|
|
fixupPhase = ''
|
|
wrapProgram $out/bin/cutegram \
|
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
version = "2.7.1";
|
|
description = "Telegram client forked from sigram";
|
|
homepage = http://aseman.co/en/products/cutegram/;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ profpatsch AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|
|
#TODO: appindicator, for system tray plugin (by @profpatsch)
|