summary refs log tree commit diff
path: root/pkgs/applications/networking/irc/qweechat/default.nix
blob: aedd4bdf0dd80652c14bb49f29efd81941d0e245 (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
{ stdenv, fetchFromGitHub, python27Packages }:

python27Packages.buildPythonApplication rec {
  version = "2016-07-29";
  name = "qweechat-unstable-${version}";
  namePrefix = "";

 src = fetchFromGitHub {
    owner = "weechat";
    repo = "qweechat";
    rev = "f5e54d01691adb3abef47e051a6412186c33313c";
    sha256 = "0dhlriwvkrsn7jj01p2wqhf2p63n9qd173jsgccgxlacm2zzvhaz";
  };

  prePatch = ''
    substituteInPlace setup.py \
      --replace 'qweechat = qweechat.qweechat' 'qweechat = qweechat.qweechat:main'
  '';

  propagatedBuildInputs = with python27Packages; [
     pyside setuptools
  ];

  meta = with stdenv.lib; {
    homepage = https://github.com/weechat/qweechat;
    description = "Qt remote GUI for WeeChat";
    license = licenses.gpl3;
    maintainers = with maintainers; [ ramkromberg ];
    platforms = with platforms; linux;
  };
}