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