From f256b6f0252c99bdac85ad5a1bab7ca74c15c6fe Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 7 Nov 2022 09:32:47 +0100 Subject: [PATCH 1/2] maintainers: add danielsiepmann --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index bf772cb9f71c3..200c14c2b3872 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3091,6 +3091,12 @@ githubId = 1298344; name = "Daniel Fullmer"; }; + danielsiepmann = { + email = "coding@daniel-siepmann.de"; + github = "danielsiepmann"; + githubId = 354250; + name = "Daniel Siepmann"; + }; danth = { name = "Daniel Thwaites"; email = "danthwaites30@btinternet.com"; From f8a357f53285a5a0137b2367da129df9258947fb Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 7 Nov 2022 09:26:12 +0100 Subject: [PATCH 2/2] purple-mattermost: init at v2.1 --- .../purple-mattermost/default.nix | 36 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-mattermost/default.nix diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-mattermost/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-mattermost/default.nix new file mode 100644 index 0000000000000..815ed570d3bd2 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-mattermost/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchFromGitHub, lib, git, + pidgin, glib, json-glib, + # markdown implementation + discount +}: + +stdenv.mkDerivation rec { + pname = "purple-mattermost"; + version = "v2.1"; + src = fetchFromGitHub { + owner = "EionRobb"; + repo = pname; + rev = version; + leaveDotGit = true; + sha256 = "sha256-/lFGr6s4R/LQ2N60b6lJwQjjIoZxZTiKupmHV1APl9A="; + }; + + PKG_CONFIG_PURPLE_PLUGINDIR = "${placeholder "out"}/lib/purple-2"; + PKG_CONFIG_PURPLE_DATAROOTDIR = "${placeholder "out"}/share"; + + nativeBuildInputs = [ + git + glib + json-glib + discount + pidgin + ]; + + meta = with lib; { + homepage = "https://github.com/EionRobb/purple-mattermost"; + description = "Plugin for Pidgin which adds support for Mattermost"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ danielsiepmann ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b2b5555d77338..d7b1b4646919b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31208,6 +31208,8 @@ with pkgs; purple-matrix = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-matrix { }; + purple-mattermost = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-mattermost { }; + purple-mm-sms = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-mm-sms { }; purple-plugin-pack = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-plugin-pack { };