depot/third_party/nixpkgs/pkgs/servers/heisenbridge/default.nix

29 lines
660 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "heisenbridge";
version = "1.0.0";
src = fetchFromGitHub {
owner = "hifi";
repo = "heisenbridge";
rev = "v${version}";
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 ];
};
}