depot/third_party/nixpkgs/pkgs/servers/heisenbridge/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

28 lines
761 B
Nix

{ lib, fetchurl, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "heisenbridge";
version = "1.3.0";
# Use the release tarball because it has the version set correctly using the
# version.txt file.
src = fetchurl {
url = "https://github.com/hifi/heisenbridge/releases/download/v${version}/heisenbridge-${version}.tar.gz";
sha256 = "sha256-fj0eJS7c1zSrzHfnlEhJICVDZ+Mo9hKgxwaZ2gn5CsY=";
};
propagatedBuildInputs = with python3Packages; [
aiohttp
irc
mautrix
python-socks
pyyaml
];
meta = with lib; {
description = "A bouncer-style Matrix-IRC bridge.";
homepage = "https://github.com/hifi/heisenbridge";
license = licenses.mit;
maintainers = [ maintainers.sumnerevans ];
};
}