diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2012-09-13 14:14:49 +0400 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2012-09-13 14:14:49 +0400 |
commit | b52919ac9e2631b2eba0e5bebbe4479f4506c0a6 (patch) | |
tree | b1d5bce67b3e8553b3e457c2f6aca6d551eaf77a /pkgs/applications/networking/instant-messengers/salut-a-toi | |
parent | bc8e5d2da23ea15209531e09005c7ecc6d880015 (diff) |
Buildable Salut-à-toi
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/salut-a-toi')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix b/pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix new file mode 100644 index 0000000000000..a7f4162a4a135 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix @@ -0,0 +1,37 @@ +{stdenv, fetchurl, python, pythonPackages, pygobject}: +stdenv.mkDerivation rec { + url = "ftp://ftp.goffi.org/sat/sat-0.2.0.tar.bz2"; + name = stdenv.lib.nameFromURL url ".tar"; + src = fetchurl { + inherit url; + sha256 = "14qqgsgqns1xcp97nd3jcxrq54z1x5a6kimqxy029hh7ys813mf1"; + }; + + buildInputs = with pythonPackages; + [ + python twisted urwid beautifulsoup wxPython distribute pygobject + wokkel + ]; + + configurePhase = '' + sed -e "s@sys.prefix@'$out'@g" -i setup.py + + echo 'import wokkel.muc' | python + ''; + + buildPhase = '' + python setup.py build + ''; + + installPhase = '' + python setup.py install --prefix="$out" + ''; + + meta = { + 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; + }; +} |