nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix
2021-07-19 14:55:48 +02:00

23 lines
660 B
Nix

{ lib, stdenv, fetchurl, libotr, pidgin, intltool } :
stdenv.mkDerivation rec {
pname = "pidgin-otr";
version = "4.0.2";
src = fetchurl {
url = "https://otr.cypherpunks.ca/pidgin-otr-${version}.tar.gz";
sha256 = "1i5s9rrgbyss9rszq6c6y53hwqyw1k86s40cpsfx5ccl9bprxdgl";
};
postInstall = "ln -s \$out/lib/pidgin \$out/share/pidgin-otr";
buildInputs = [ libotr pidgin intltool ];
meta = with 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 ];
};
}