3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/git-cola/default.nix

37 lines
878 B
Nix
Raw Normal View History

2019-07-25 13:55:57 +01:00
{ stdenv, fetchFromGitHub, pythonPackages, gettext, git, qt5 }:
2015-03-08 00:39:29 +00:00
2016-10-17 21:10:44 +01:00
let
inherit (pythonPackages) buildPythonApplication pyqt5 sip pyinotify;
2016-10-17 21:10:44 +01:00
in buildPythonApplication rec {
pname = "git-cola";
version = "3.4";
2015-03-08 00:39:29 +00:00
src = fetchFromGitHub {
owner = "git-cola";
repo = "git-cola";
rev = "v${version}";
sha256 = "0754d56dprhb1nhb8fwp4my5pyqcgarwzba1l6zx7il87d7vyi5m";
2015-03-08 00:39:29 +00:00
};
buildInputs = [ git gettext ];
propagatedBuildInputs = [ pyqt5 sip pyinotify ];
2019-07-25 13:55:57 +01:00
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
2015-03-08 00:39:29 +00:00
2016-10-17 21:10:44 +01:00
doCheck = false;
2019-07-25 13:55:57 +01:00
postFixup = ''
2019-09-09 08:45:13 +01:00
wrapQtApp $out/bin/git-cola
wrapQtApp $out/bin/git-dag
2019-07-25 13:55:57 +01:00
'';
2015-03-08 00:39:29 +00:00
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;
2015-03-08 00:39:29 +00:00
maintainers = [ maintainers.bobvanderlinden ];
};
}