Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4ae325df93eb
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 40952628a9f2
Choose a head ref
  • 1 commit
  • 2 files changed
  • 2 contributors

Commits on Jan 17, 2021

  1. matrix-corporal: init at 2.0.1 (#99074)

    * matrix-corporal: init at 2.0.1
    
    * Update pkgs/servers/matrix-corporal/default.nix
    
    Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
    dali99 and SuperSandro2000 authored Jan 17, 2021
    Copy the full SHA
    4095262 View commit details
Showing with 28 additions and 0 deletions.
  1. +26 −0 pkgs/servers/matrix-corporal/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
26 changes: 26 additions & 0 deletions pkgs/servers/matrix-corporal/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule rec {
pname = "matrix-corporal";
version = "2.0.1";

src = fetchFromGitHub {
owner = "devture";
repo = pname;
rev = version;
sha256 = "1n8yjmy3j0spgwpxgc26adhpl52fm3d2xbmkf5n9dwzw29grv68r";
};

buildFlagsArray = [
"-ldflags=-s -w -X main.GitCommit=${version} -X main.GitBranch=${version} -X main.GitState=nixpkgs -X main.GitSummary=${version} -X main.Version=${version}"
];

vendorSha256 = "1gi6mff6h0fkgfq5yybd1qcy2qwrvc4kzi11x7arfl9nr0d24rb2";

meta = with lib; {
homepage = "https://github.com/devture/matrix-corporal";
description = "Reconciliator and gateway for a managed Matrix server";
maintainers = with maintainers; [ dandellion ];
license = licenses.agpl3Only;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -5590,6 +5590,8 @@ in

matrix-appservice-discord = callPackage ../servers/matrix-appservice-discord { };

matrix-corporal = callPackage ../servers/matrix-corporal { };

mautrix-telegram = recurseIntoAttrs (callPackage ../servers/mautrix-telegram { });

mautrix-whatsapp = callPackage ../servers/mautrix-whatsapp { };