nixpkgs/pkgs/applications/networking/browsers/qtchan/default.nix

31 lines
715 B
Nix
Raw Normal View History

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