mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
1a69587040
`git-cola` is a simple GUI `git` wrapper based on QT. Since 2.7
(namely 293364b45c
)
it supports QT5 which provides a nicer inteface.
See #33248
29 lines
773 B
Nix
29 lines
773 B
Nix
{ stdenv, fetchFromGitHub, pythonPackages, makeWrapper, gettext, git }:
|
|
|
|
let
|
|
inherit (pythonPackages) buildPythonApplication pyqt5 sip pyinotify python mock;
|
|
in buildPythonApplication rec {
|
|
name = "git-cola-${version}";
|
|
version = "3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "git-cola";
|
|
repo = "git-cola";
|
|
rev = "v${version}";
|
|
sha256 = "1xzm8694zndl2pb4nanzhldn7wrsc1gjd5ldjncidw1msp9fczq1";
|
|
};
|
|
|
|
buildInputs = [ git gettext ];
|
|
propagatedBuildInputs = [ pyqt5 sip pyinotify ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/git-cola/git-cola;
|
|
description = "A sleek and powerful Git GUI";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bobvanderlinden ];
|
|
};
|
|
}
|