diff --git a/pkgs/applications/networking/instant-messengers/tkabber-plugins/default.nix b/pkgs/applications/networking/instant-messengers/tkabber-plugins/default.nix new file mode 100644 index 000000000000..c361f3270e65 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/tkabber-plugins/default.nix @@ -0,0 +1,18 @@ +{stdenv, fetchurl, tkabber}: + +stdenv.mkDerivation rec { + name = "tkabber-plugins-${version}"; + version = "0.11.1"; + + src = fetchurl { + url = "http://files.jabber.ru/tkabber/tkabber-plugins-${version}.tar.gz"; + sha256 = "0jxriqvsckbih5a4lpisxy6wjw022wsz5j5n171gz0q3xw19dbgz"; + }; + + configurePhase = '' + mkdir -p $out/bin + sed -e "s@/usr/local@$out@" -i Makefile + ''; + + buildInputs = [tkabber]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e009d590a21b..0dc6197a282f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1557,6 +1557,8 @@ let tkabber = callPackage ../applications/networking/instant-messengers/tkabber { }; + tkabber_plugins = callPackage ../applications/networking/instant-messengers/tkabber-plugins { }; + tm = callPackage ../tools/system/tm { }; trang = callPackage ../tools/text/xml/trang { };