diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix b/nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix new file mode 100644 index 000000000000..9f5c246ede63 --- /dev/null +++ b/nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, libotr, pidgin, intltool } : + +stdenv.mkDerivation rec { + name = "pidgin-otr-4.0.2"; + src = fetchurl { + url = "http://www.cypherpunks.ca/otr/${name}.tar.gz"; + sha256 = "1i5s9rrgbyss9rszq6c6y53hwqyw1k86s40cpsfx5ccl9bprxdgl"; + }; + + postInstall = "ln -s \$out/lib/pidgin \$out/share/pidgin-otr"; + + buildInputs = [ libotr pidgin intltool ]; + + meta = with stdenv.lib; { + homepage = https://otr.cypherpunks.ca/; + description = "Plugin for Pidgin 2.x which implements OTR Messaging"; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ abbradar ]; + }; +} |