From 417dd5528e8f3afbc8f8cf139699dfe420407bc7 Mon Sep 17 00:00:00 2001 From: Alexei Robyn Date: Mon, 10 Aug 2015 13:23:26 +1000 Subject: [PATCH] pidgin-opensteamworks: init at v1.5.1 Adds pidgin-opensteamworks, a Pidgin plugin to add support for the Steam Friends/Steam IM service --- .../pidgin-opensteamworks/default.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-opensteamworks/default.nix diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-opensteamworks/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-opensteamworks/default.nix new file mode 100644 index 00000000000..30d90ba302d --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-opensteamworks/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, pidgin, unzip, glib, json_glib, nss, nspr, libgnome_keyring } : + +stdenv.mkDerivation rec { + name = "pidgin-opensteamworks-1.5.1"; + + # Temporarily sourcing this from a mirror in my github account, until such time as the project is officially migrated away from the deprecated google code service + src = fetchFromGitHub { + owner = "Shados"; + repo = "pidgin-opensteamworks"; + rev = "4f0ea110a5bdba9d2b18ec8785b2edb276f0cccd"; + sha256 = "0gcrc1yaf29yjfhpflpn451i7isw8zc7maw77g604815myc5k025"; + }; + + preConfigure = "cd steam-mobile"; + postInstall = '' + mkdir -p $out/lib/pidgin/ + mkdir -p $out/share/pixmaps/pidgin/protocols/ + cp libsteam.so $out/lib/pidgin/ + unzip releases/icons.zip -d $out/share/pixmaps/pidgin/protocols/ + ''; + + buildInputs = [ pidgin unzip glib json_glib nss nspr libgnome_keyring ]; + + meta = with stdenv.lib; { + homepage = https://code.google.com/p/pidgin-opensteamworks; + description = "Plugin for Pidgin 2.x which implements Steam Friends/Steam IM compatibility"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainters = with maintainers; [ arobyn ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9bf619201af..a4c13aa8cfe 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12396,6 +12396,8 @@ let toxprpl = callPackage ../applications/networking/instant-messengers/pidgin-plugins/tox-prpl { }; + pidgin-opensteamworks = callPackage ../applications/networking/instant-messengers/pidgin-plugins/pidgin-opensteamworks { }; + pithos = callPackage ../applications/audio/pithos { pythonPackages = python34Packages; };