weechatDevel: update to latest
This commit is contained in:
parent
1c1ce3868b
commit
1048dbc33c
@ -3,33 +3,39 @@
|
|||||||
, pythonPackages, cacert, cmake, makeWrapper }:
|
, pythonPackages, cacert, cmake, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
rev = "6f64ee699ba46c90b55d3b99c60e4807819e2b7b";
|
rev = "85b8e0d82bf99ca2c55a87482ee40b3043df14db";
|
||||||
version = "0.4.4-rev${rev}";
|
version = "0.4.4-rev${rev}";
|
||||||
name = "weechat-${version}";
|
name = "weechat-${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
inherit rev;
|
inherit rev;
|
||||||
url = "git://github.com/weechat/weechat.git";
|
url = "git://github.com/weechat/weechat.git";
|
||||||
sha256 = "1w58gir48kxvscf6njy3kmfxbjlnsf2byw3g3w6r47zjkgyxcf1z";
|
sha256 = "0kzsar7gmw2sgkdzcspg65prii8skpaqxvdyvas2a29dr07j2gnl";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
|
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
|
||||||
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper
|
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper
|
||||||
cacert cmake
|
cacert cmake ]
|
||||||
];
|
++ stdenv.lib.optional stdenv.isDarwin pythonPackages.pync;
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-I${python}/include/python2.7";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/bin/weechat" \
|
NIX_PYTHONPATH="$out/lib/${python.libPrefix}/site-packages"
|
||||||
--prefix PYTHONPATH : "$PYTHONPATH" \
|
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
--prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
|
NIX_PYTHONPATH+="${pythonPackages.pync}/lib/${python.libPrefix}/site-packages"
|
||||||
|
'' + ''
|
||||||
|
wrapProgram "$out/bin/weechat" \
|
||||||
|
--prefix PYTHONPATH : "$PYTHONPATH" \
|
||||||
|
--prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.weechat.org/;
|
homepage = http://www.weechat.org/;
|
||||||
description = "A fast, light and extensible chat client";
|
description = "A fast, light and extensible chat client";
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
maintainers = with stdenv.lib.maintainers; [ garbas the-kenny ];
|
maintainers = with stdenv.lib.maintainers; [ lovek323 garbas the-kenny ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user