mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
32 lines
847 B
Nix
32 lines
847 B
Nix
{ lib, 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 lib; {
|
|
homepage = "https://github.com/weechat/qweechat";
|
|
description = "Qt remote GUI for WeeChat";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ ramkromberg ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|