diff options
author | Yureka <yuka@yuka.dev> | 2022-07-29 00:40:09 +0200 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2022-07-29 01:41:47 +0200 |
commit | 11fc0df709d93ed64caf16b980c79428423b7c03 (patch) | |
tree | 56e4ee0c3d979e2e532ea6c4ae549face2207025 | |
parent | 68716026a095a765c09ec29f06ba234a0298418c (diff) | |
download | nixpkgs-11fc0df709d93ed64caf16b980c79428423b7c03.tar nixpkgs-11fc0df709d93ed64caf16b980c79428423b7c03.tar.gz nixpkgs-11fc0df709d93ed64caf16b980c79428423b7c03.tar.bz2 nixpkgs-11fc0df709d93ed64caf16b980c79428423b7c03.tar.lz nixpkgs-11fc0df709d93ed64caf16b980c79428423b7c03.tar.xz nixpkgs-11fc0df709d93ed64caf16b980c79428423b7c03.tar.zst nixpkgs-11fc0df709d93ed64caf16b980c79428423b7c03.zip |
heisenbridge: override to mautrix 0.16.x
-rw-r--r-- | pkgs/servers/heisenbridge/default.nix | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/pkgs/servers/heisenbridge/default.nix b/pkgs/servers/heisenbridge/default.nix index 82599cdcbaa..576df924ad9 100644 --- a/pkgs/servers/heisenbridge/default.nix +++ b/pkgs/servers/heisenbridge/default.nix @@ -1,5 +1,20 @@ { lib, fetchFromGitHub, fetchpatch, python3 }: -python3.pkgs.buildPythonApplication rec { + +let + python = python3.override { + packageOverrides = self: super: { + mautrix = super.mautrix.overridePythonAttrs (oldAttrs: rec { + version = "0.16.3"; + src = oldAttrs.src.override { + inherit (oldAttrs) pname; + inherit version; + sha256 = "sha256-OpHLh5pCzGooQ5yxAa0+85m/szAafV+l+OfipQcfLtU="; + }; + }); + }; + }; + +in python.pkgs.buildPythonApplication rec { pname = "heisenbridge"; version = "1.13.1"; @@ -14,7 +29,7 @@ python3.pkgs.buildPythonApplication rec { echo "${version}" > heisenbridge/version.txt ''; - propagatedBuildInputs = with python3.pkgs; [ + propagatedBuildInputs = with python.pkgs; [ aiohttp irc mautrix @@ -22,7 +37,7 @@ python3.pkgs.buildPythonApplication rec { pyyaml ]; - checkInputs = with python3.pkgs; [ + checkInputs = with python.pkgs; [ pytestCheckHook ]; |