mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
qtchan: 0.100 -> 1.0.1
This commit is contained in:
parent
8b56d205b2
commit
32ce5c3e35
@ -1,27 +1,19 @@
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, qt, makeWrapper }:
|
||||
{ mkDerivation, lib, fetchFromGitHub, qmake, qtbase }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qtchan-${version}";
|
||||
version = "0.100";
|
||||
mkDerivation rec {
|
||||
pname = "qtchan";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "siavash119";
|
||||
repo = "qtchan";
|
||||
rev = "v${version}";
|
||||
sha256 = "0n94jd6b1y8v6x5lkinr9rzm4bjg9xh9m7zj3j73pgq829gpmj3a";
|
||||
sha256 = "1x11m1kwqindzc0dkpfifcglsb362impaxs85kgzx50p898sz9ll";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = https://github.com/siavash119/qtchan/commit/718abeee5cf4aca8c99b35b26f43909362a29ee6.patch;
|
||||
sha256 = "11b72l5njvfsyapd479hp4yfvwwb1mhq3f077hwgg0waz5l7n00z";
|
||||
})
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ qt.qmake qt.wrapQtAppsHook ];
|
||||
buildInputs = [ qt.qtbase ];
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ qtbase ];
|
||||
qmakeFlags = [ "CONFIG-=app_bundle" ];
|
||||
|
||||
installPhase = ''
|
||||
@ -29,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
cp qtchan $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "4chan browser in qt5";
|
||||
homepage = "https://github.com/siavash119/qtchan";
|
||||
license = licenses.mit;
|
||||
|
@ -20222,9 +20222,7 @@ in
|
||||
|
||||
qtbitcointrader = callPackage ../applications/misc/qtbitcointrader { };
|
||||
|
||||
qtchan = callPackage ../applications/networking/browsers/qtchan {
|
||||
qt = qt5;
|
||||
};
|
||||
qtchan = libsForQt5.callPackage ../applications/networking/browsers/qtchan { };
|
||||
|
||||
qtox = libsForQt5.callPackage ../applications/networking/instant-messengers/qtox { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user