depot/third_party/nixpkgs/pkgs/servers/heisenbridge/default.nix
Default email d9e13ed064 Project import generated by Copybara.
GitOrigin-RevId: a930f7da84786807bb105df40e76b541604c3e72
2021-09-22 23:38:15 +08:00

26 lines
732 B
Nix

{ lib, fetchurl, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "heisenbridge";
version = "1.1.2";
# 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-hY0dB4QT9W18ubUytvJwRUWKpNQMpyYdSLbmu+c8BCo=";
};
propagatedBuildInputs = with python3Packages; [
aiohttp
irc
pyyaml
];
meta = with lib; {
description = "A bouncer-style Matrix-IRC bridge.";
homepage = "https://github.com/hifi/heisenbridge";
license = licenses.mit;
maintainers = [ maintainers.sumnerevans ];
};
}