1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Gajim: make OpenSSL code work

This commit is contained in:
Michael Raskin 2012-09-13 18:02:41 +04:00
parent 947741de5f
commit 8b7d12d0f5
3 changed files with 12 additions and 5 deletions

View file

@ -8,7 +8,7 @@ let
pkgconfig makeWrapper libglade pyopenssl libXScrnSaver
libXt xproto libXext xextproto libX11 gtkspell aspell
scrnsaverproto pycrypto pythonDBus pythonSexy
docutils
docutils pyasn1
];
in
rec {
@ -37,8 +37,14 @@ rec {
done
'') ["wrapBinContentsPython"];
deploySource = a.fullDepEntry (''
mkdir -p "$out/share/gajim/src"
cp -r * "$out/share/gajim/src"
'') ["minInit"];
/* doConfigure should be removed if not needed */
phaseNames = ["preConfigure" (a.doDump "1") "doConfigure" "doMakeInstall" "wrapBinContentsPython" "fixScriptNames"];
phaseNames = ["preConfigure" (a.doDump "1") "doConfigure" "doMakeInstall"
"wrapBinContentsPython" "fixScriptNames" "deploySource"];
name = "gajim-" + version;
meta = {

View file

@ -2,15 +2,15 @@ a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.10" a;
version = a.lib.attrByPath ["version"] "0.13" a;
propagatedBuildInputs = with a; [
openssl python
];
in
rec {
src = fetchurl {
url = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.10.tar.gz";
sha256 = "4514f8960389042ca2587f9cb801a13f7990387753fc678680b0c084719b5b60";
url = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz";
sha256 = "21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b";
};
inherit propagatedBuildInputs;

View file

@ -8696,6 +8696,7 @@ let
inherit (gnome) libglade;
inherit (xlibs) libXScrnSaver libXt xproto libXext xextproto libX11
scrnsaverproto;
inherit (pythonPackages) pyasn1;
python = pythonFull;
};