diff options
author | Winter <winter@winter.cafe> | 2022-07-29 21:45:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 21:45:39 -0400 |
commit | 8ffc54e10803664bd50c9c9c0fa24bed7db63b6a (patch) | |
tree | 7c353a4af2eb333bca61f647f05da29e39b67441 /pkgs/applications/networking/instant-messengers | |
parent | 77b29e25890ec39e665b202cf49431182e3cc07c (diff) | |
parent | 09abddcb9f64c8e42ed98dde9266e645d7b7998f (diff) |
Merge pull request #183590 from hufman/init/purple-signald
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-signald/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-signald/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-signald/default.nix new file mode 100644 index 0000000000000..fd8342fbdead0 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-signald/default.nix @@ -0,0 +1,33 @@ +{ lib, stdenv, fetchFromGitHub, pidgin, json-glib, signald }: + +stdenv.mkDerivation rec { + pname = "purple-signald"; + version = "0.11.0"; + + src = fetchFromGitHub { + owner = "hoehermann"; + repo = "libpurple-signald"; + rev = "v${version}"; + sha256 = "sha256-2LiHjVRBwdPbfravIVM+gvsh3Gq4bhjtRD6eWAbkWmc="; + fetchSubmodules = true; + }; + + buildInputs = [ + pidgin + json-glib + signald + ]; + + PKG_CONFIG_PURPLE_PLUGINDIR = "${placeholder "out"}/lib/purple-2"; + PKG_CONFIG_PURPLE_DATADIR = "${placeholder "out"}/share"; + + installFlags = [ "DESTDIR=$(out)" ]; + + meta = with lib; { + homepage = "https://github.com/hoehermann/libpurple-signald"; + description = "Signal support for Pidgin / libpurple"; + license = licenses.gpl3Only; + platforms = platforms.linux; + maintainers = with maintainers; [ hufman ]; + }; +} |