From 9fad0cbd5bb2e14186c46abe873898860f2f4639 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Sun, 23 May 2021 09:35:44 -0600 Subject: [PATCH] heisenbridge: init at unstable-2021-05-23 (#123846) --- pkgs/servers/heisenbridge/default.nix | 28 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/servers/heisenbridge/default.nix diff --git a/pkgs/servers/heisenbridge/default.nix b/pkgs/servers/heisenbridge/default.nix new file mode 100644 index 000000000000..b308e96cbec2 --- /dev/null +++ b/pkgs/servers/heisenbridge/default.nix @@ -0,0 +1,28 @@ +{ lib, fetchFromGitHub, python3Packages }: + +python3Packages.buildPythonPackage rec { + pname = "heisenbridge"; + version = "unstable-2021-05-23"; + + src = fetchFromGitHub { + owner = "hifi"; + repo = "heisenbridge"; + rev = "1f8df49b7e89aaeb2cbb5fee68bd29cf3eda079a"; + sha256 = "sha256-ta6n9hXRdIjfxsLy9jrzZkz6TS50/TYpFOb/BLrRWK4="; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d4d7b6465db6..2fdd3f31b8c4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5582,6 +5582,8 @@ in heimdall-gui = heimdall.override { enableGUI = true; }; + heisenbridge = callPackage ../servers/heisenbridge { }; + helio-workstation = callPackage ../applications/audio/helio-workstation { }; hevea = callPackage ../tools/typesetting/hevea { };