blob: 8ad81139fbe91083992430b79bbefcd7ed6f603b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ mkDerivation, lib, fetchFromGitHub, qmake, qtbase }:
mkDerivation rec {
pname = "qtchan";
version = "1.0.1";
src = fetchFromGitHub {
owner = "siavash119";
repo = "qtchan";
rev = "v${version}";
sha256 = "1x11m1kwqindzc0dkpfifcglsb362impaxs85kgzx50p898sz9ll";
};
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase ];
qmakeFlags = [ "CONFIG-=app_bundle" ];
installPhase = ''
mkdir -p $out/bin
cp qtchan $out/bin
'';
meta = with lib; {
description = "4chan browser in qt5";
homepage = "https://github.com/siavash119/qtchan";
license = licenses.mit;
maintainers = with maintainers; [ Madouura ];
platforms = platforms.unix;
};
}
|