Merge pull request #24552 from ndowens/git-cola

git-cola: 2.8 -> 2.10

authored by Jörg Thalheim and committed by GitHub a18ac4fd 97d35590

+8 -20
+8 -20
pkgs/applications/version-management/git-and-tools/git-cola/default.nix
··· 1 - { stdenv, fetchurl, pythonPackages, makeWrapper, gettext, git }: 2 3 let 4 inherit (pythonPackages) buildPythonApplication pyqt4 sip pyinotify python mock; 5 in buildPythonApplication rec { 6 name = "git-cola-${version}"; 7 - version = "2.8"; 8 9 - src = fetchurl { 10 - url = "https://github.com/git-cola/git-cola/archive/v${version}.tar.gz"; 11 - sha256 = "19ff7i0h5fznrkm17lp3xkxwkq27whhiil6y6bm16b1wny5hjqlr"; 12 }; 13 14 - buildInputs = [ git makeWrapper gettext ]; 15 propagatedBuildInputs = [ pyqt4 sip pyinotify ]; 16 - 17 - # HACK: wrapPythonPrograms adds 'import sys; sys.argv[0] = "git-cola"', but 18 - # "import __future__" must be placed above that. This removes the argv[0] line. 19 - postFixup = '' 20 - wrapPythonPrograms 21 - 22 - sed -i "$out/bin/.git-dag-wrapped" -e '{ 23 - /import sys; sys.argv/d 24 - }' 25 - 26 - sed -i "$out/bin/.git-cola-wrapped" -e '{ 27 - /import sys; sys.argv/d 28 - }' 29 - ''; 30 31 doCheck = false; 32
··· 1 + { stdenv, fetchFromGitHub, pythonPackages, makeWrapper, gettext, git }: 2 3 let 4 inherit (pythonPackages) buildPythonApplication pyqt4 sip pyinotify python mock; 5 in buildPythonApplication rec { 6 name = "git-cola-${version}"; 7 + version = "2.10"; 8 9 + src = fetchFromGitHub { 10 + owner = "git-cola"; 11 + repo = "git-cola"; 12 + rev = "v${version}"; 13 + sha256 = "067g0yya6718kxagf5qm59zizp0lizca4m3ih85y732i6rqpgwv8"; 14 }; 15 16 + buildInputs = [ git gettext ]; 17 propagatedBuildInputs = [ pyqt4 sip pyinotify ]; 18 19 doCheck = false; 20