blob: 99d0c2df543fad737167cc569a6b6c8bb6551527 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{lib, fetchurl, mercurial, pythonPackages}:
pythonPackages.buildPythonApplication rec {
name = "tortoisehg-${version}";
version = "3.8.1";
src = fetchurl {
url = "https://bitbucket.org/tortoisehg/targz/downloads/${name}.tar.gz";
sha256 = "1v5h5yz9b360ris9p8zsdjxqvaflp9z2b6b7dfb4abn2irv3jip6";
};
pythonPath = with pythonPackages; [ pyqt4 mercurial qscintilla iniparse ];
propagatedBuildInputs = with pythonPackages; [ qscintilla iniparse ];
doCheck = false;
dontStrip = true;
buildPhase = "";
installPhase = ''
${pythonPackages.python.executable} setup.py install --prefix=$out
ln -s $out/bin/thg $out/bin/tortoisehg #convenient alias
'';
meta = {
description = "Qt based graphical tool for working with Mercurial";
homepage = http://tortoisehg.bitbucket.org/;
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = [ "abcz2.uprola@gmail.com" ];
};
}
|