3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/qtchan/default.nix

32 lines
748 B
Nix
Raw Normal View History

2019-08-23 07:56:24 +01:00
{ mkDerivation, lib, fetchFromGitHub, qmake, qtbase }:
2018-05-14 04:36:53 +01:00
2019-08-23 07:56:24 +01:00
mkDerivation rec {
pname = "qtchan";
version = "1.0.1";
2018-05-14 04:36:53 +01:00
src = fetchFromGitHub {
owner = "siavash119";
repo = "qtchan";
rev = "v${version}";
2019-08-23 07:56:24 +01:00
sha256 = "1x11m1kwqindzc0dkpfifcglsb362impaxs85kgzx50p898sz9ll";
2018-05-14 04:36:53 +01:00
};
enableParallelBuilding = true;
2019-08-23 07:56:24 +01:00
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase ];
2018-05-16 06:48:15 +01:00
qmakeFlags = [ "CONFIG-=app_bundle" ];
2018-05-14 04:36:53 +01:00
installPhase = ''
mkdir -p $out/bin
cp qtchan $out/bin
'';
2019-08-23 07:56:24 +01:00
meta = with lib; {
2018-05-14 04:36:53 +01:00
description = "4chan browser in qt5";
homepage = "https://github.com/siavash119/qtchan";
license = licenses.mit;
maintainers = with maintainers; [ chiiruno ];
2018-05-16 06:48:15 +01:00
platforms = platforms.unix;
2018-05-14 04:36:53 +01:00
};
}