nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 cmake,
6 qt6,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "qgit";
11 version = "2.13";
12
13 src = fetchFromGitHub {
14 owner = "tibirna";
15 repo = "qgit";
16 rev = "qgit-${finalAttrs.version}";
17 hash = "sha256-hOx6FYccutycp+F3iesj48STFeBM/2r5cw2f5FkBIjY=";
18 };
19
20 nativeBuildInputs = [
21 cmake
22 qt6.wrapQtAppsHook
23 ];
24
25 buildInputs = [
26 qt6.qtbase
27 qt6.qt5compat
28 ];
29
30 meta = {
31 license = lib.licenses.gpl2Only;
32 homepage = "https://github.com/tibirna/qgit";
33 description = "Graphical front-end to Git";
34 maintainers = with lib.maintainers; [
35 peterhoeg
36 markuskowa
37 ];
38 inherit (qt6.qtbase.meta) platforms;
39 mainProgram = "qgit";
40 };
41})