mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
29 lines
761 B
Nix
29 lines
761 B
Nix
{ lib, fetchurl, python3Packages }:
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
pname = "heisenbridge";
|
|
version = "1.4.1";
|
|
|
|
# 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-+FnpECMDu7d7IM6vmiqP2mA/WJx2WVSzI01tLzkrvpk=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
aiohttp
|
|
irc
|
|
mautrix
|
|
python-socks
|
|
pyyaml
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A bouncer-style Matrix-IRC bridge.";
|
|
homepage = "https://github.com/hifi/heisenbridge";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.sumnerevans ];
|
|
};
|
|
}
|