1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/servers/heisenbridge/default.nix

28 lines
744 B
Nix
Raw Normal View History

2021-09-20 14:19:46 +01:00
{ lib, fetchurl, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "heisenbridge";
version = "1.2.0";
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 {
2021-09-21 20:55:45 +01:00
url = "https://github.com/hifi/heisenbridge/releases/download/v${version}/heisenbridge-${version}.tar.gz";
sha256 = "sha256-xSqtgUlB7/4QWsq5+8YhxxfQyufpuscIIROJnlnFZn0=";
};
propagatedBuildInputs = with python3Packages; [
aiohttp
irc
mautrix
pyyaml
];
meta = with lib; {
description = "A bouncer-style Matrix-IRC bridge.";
homepage = "https://github.com/hifi/heisenbridge";
license = licenses.mit;
maintainers = [ maintainers.sumnerevans ];
};
}