1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 libsForQt5,
6 gitUpdater,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "gitqlient";
11 version = "1.6.3";
12
13 src = fetchFromGitHub {
14 owner = "francescmm";
15 repo = "gitqlient";
16 tag = "v${finalAttrs.version}";
17 fetchSubmodules = true;
18 hash = "sha256-gfWky5KTSj+5FC++QIVTJbrDOYi/dirTzs6LvTnO74A=";
19 };
20
21 nativeBuildInputs = [
22 libsForQt5.qmake
23 libsForQt5.wrapQtAppsHook
24 ];
25
26 buildInputs = [
27 libsForQt5.qtwebengine
28 ];
29
30 qmakeFlags = [
31 "GitQlient.pro"
32 ];
33
34 passthru.updateScript = gitUpdater {
35 rev-prefix = "v";
36 };
37
38 meta = {
39 homepage = "https://github.com/francescmm/GitQlient";
40 description = "Multi-platform Git client written with Qt";
41 license = lib.licenses.lgpl2Plus;
42 platforms = lib.platforms.linux;
43 maintainers = with lib.maintainers; [ romildo ];
44 mainProgram = "gitqlient";
45 };
46})