mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 15:23:26 +03:00
Merge pull request #23999 from ndowens/salut-a-toi
salut-a-toi: 0.2.0 -> 0.6.1
This commit is contained in:
commit
54aff5c3a7
@ -1,25 +1,29 @@
|
||||
{stdenv, fetchurl, pythonPackages}:
|
||||
{stdenv, fetchurl, python27Packages, file }:
|
||||
|
||||
let
|
||||
inherit (pythonPackages) python;
|
||||
in stdenv.mkDerivation rec {
|
||||
url = "ftp://ftp.goffi.org/sat/sat-0.2.0.tar.bz2";
|
||||
name = stdenv.lib.nameFromURL url ".tar";
|
||||
inherit (python27Packages) python;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "salut-a-toi";
|
||||
version = "0.6.1";
|
||||
pname = "sat-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
inherit url;
|
||||
sha256 = "14qqgsgqns1xcp97nd3jcxrq54z1x5a6kimqxy029hh7ys813mf1";
|
||||
url = "ftp://ftp.goffi.org/sat/${pname}.tar.bz2";
|
||||
sha256 = "0kn9403n8fpzl0hsb9kkzicsmzq2fjl627l31yykbqzc4nsr780d";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages;
|
||||
buildInputs = with python27Packages;
|
||||
[
|
||||
python twisted urwid beautifulsoup wxPython pygobject2
|
||||
wokkel dbus-python pyfeed wrapPython setuptools
|
||||
wokkel dbus-python pyfeed wrapPython setuptools file
|
||||
pycrypto pyxdg
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
sed -i "/use_setuptools/d" setup.py
|
||||
sed -e "s@sys.prefix@'$out'@g" -i setup.py
|
||||
sed -e "1aexport PATH=\"\$PATH\":\"$out/bin\":\"${pythonPackages.twisted}/bin\"" -i src/sat.sh
|
||||
sed -e "1aexport PATH=\"\$PATH\":\"$out/bin\":\"${python27Packages.twisted}/bin\"" -i src/sat.sh
|
||||
sed -e "1aexport PYTHONPATH=\"\$PYTHONPATHPATH\":\"$PYTHONPATH\":"$out/${python.sitePackages}"" -i src/sat.sh
|
||||
|
||||
echo 'import wokkel.muc' | python
|
||||
@ -39,11 +43,11 @@ in stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://sat.goffi.org/";
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://sat.goffi.org/;
|
||||
description = "A multi-frontend XMPP client";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [raskin];
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.raskin ];
|
||||
license = licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user