2021-09-20 15:19:46 +02:00
|
|
|
{ lib, fetchurl, python3Packages }:
|
2021-05-23 17:35:44 +02:00
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
|
|
pname = "heisenbridge";
|
2021-10-21 19:23:44 +02:00
|
|
|
version = "1.3.0";
|
2021-05-23 17:35:44 +02:00
|
|
|
|
2021-09-20 15:19:46 +02:00
|
|
|
# Use the release tarball because it has the version set correctly using the
|
|
|
|
# version.txt file.
|
|
|
|
src = fetchurl {
|
2021-09-21 21:55:45 +02:00
|
|
|
url = "https://github.com/hifi/heisenbridge/releases/download/v${version}/heisenbridge-${version}.tar.gz";
|
2021-10-21 19:23:44 +02:00
|
|
|
sha256 = "sha256-fj0eJS7c1zSrzHfnlEhJICVDZ+Mo9hKgxwaZ2gn5CsY=";
|
2021-05-23 17:35:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
aiohttp
|
|
|
|
irc
|
2021-09-23 15:45:41 +02:00
|
|
|
mautrix
|
2021-10-21 19:23:44 +02:00
|
|
|
python-socks
|
2021-05-23 17:35:44 +02:00
|
|
|
pyyaml
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A bouncer-style Matrix-IRC bridge.";
|
|
|
|
homepage = "https://github.com/hifi/heisenbridge";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.sumnerevans ];
|
|
|
|
};
|
|
|
|
}
|