2021-09-20 14:19:46 +01:00
|
|
|
{ lib, fetchurl, python3Packages }:
|
2021-05-23 16:35:44 +01:00
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
|
|
pname = "heisenbridge";
|
2021-09-20 14:19:46 +01:00
|
|
|
version = "1.1.1";
|
2021-05-23 16:35:44 +01:00
|
|
|
|
2021-09-20 14:19:46 +01:00
|
|
|
# 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-v${version}.tar.gz";
|
|
|
|
sha256 = "sha256-thI3NYYnLHmlfs5mmH2SQcREBLWtnilYlxriKWnamPM=";
|
2021-05-23 16:35:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|