From 65e91d24a38878041f659d0fde230f6f855eaf7e Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Thu, 23 Jul 2020 19:23:09 +0200 Subject: [PATCH] package matrix-corporal --- default.nix | 2 ++ pkgs/matrix-corporal/default.nix | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/matrix-corporal/default.nix diff --git a/default.nix b/default.nix index d5f29a8..3527028 100644 --- a/default.nix +++ b/default.nix @@ -22,6 +22,8 @@ in matrix-wug = pkgs.callPackage ./pkgs/matrix-wug { }; + matrix-corporal = pkgs.callPackage ./pkgs/matrix-corporal { }; + rank_photos = pkgs.callPackage ./pkgs/rank_photos { }; vcsi = pkgs.callPackage ./pkgs/vcsi {}; diff --git a/pkgs/matrix-corporal/default.nix b/pkgs/matrix-corporal/default.nix new file mode 100644 index 0000000..755aae2 --- /dev/null +++ b/pkgs/matrix-corporal/default.nix @@ -0,0 +1,22 @@ +{lib, fetchFromGitHub, buildGoModule }: + +buildGoModule { + pname = "matrix-corporal"; + version = "1.9.0"; + + src = fetchFromGitHub { + owner = "devture"; + repo = "matrix-corporal"; + rev = "1.9.0"; + sha256 = "0zwfvlhp9j3skz6ryi01d7ps3wm8kb3njcbjf0bl1gv2h0cjhlji"; + }; + + vendorSha256 = "1fghbl0b418ld5szjafbiz3vp773skc0l6kaif5c2vsh2ivgr6hl"; + + meta = with lib; { + homepage = "https://github.com/devture/matrix-corporal"; + description = "Reconciliator and gateway for a managed Matrix server"; + license = licenses.agpl3; + platforms = platforms.linux; + }; +}