about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/heisenbridge/default.nix
blob: 2d98f377b3bdcc63a4bbbc493b91c1518122b189 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, fetchFromGitHub, python3Packages }:

python3Packages.buildPythonPackage rec {
  pname = "heisenbridge";
  version = "unstable-2021-05-29";

  src = fetchFromGitHub {
    owner = "hifi";
    repo = "heisenbridge";
    rev = "980755226b0cb46ad9c7f40e0e940f354212a8b7";
    sha256 = "sha256-jO1Dqtv3IbV4FLI3C82pxssgrCf43hAEcPLYszX2GNI=";
  };

  propagatedBuildInputs = with python3Packages; [
    aiohttp
    irc
    pyyaml
  ];

  checkInputs = [ python3Packages.pytestCheckHook ];

  meta = with lib; {
    description = "A bouncer-style Matrix-IRC bridge.";
    homepage = "https://github.com/hifi/heisenbridge";
    license = licenses.mit;
    maintainers = [ maintainers.sumnerevans ];
  };
}