nixpkgs/pkgs/servers/heisenbridge/default.nix

29 lines
660 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "heisenbridge";
2021-08-17 15:40:28 +00:00
version = "1.0.0";
src = fetchFromGitHub {
owner = "hifi";
repo = "heisenbridge";
rev = "v${version}";
2021-08-17 15:40:28 +00:00
sha256 = "sha256-DmYGP50GsthxvhXUMkwV+mvcfCjCMu90VMe5woNvf1w=";
};
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 ];
};
}