Loading pkgs/by-name/ma/mautrix-telegram/package.nix +58 −55 Original line number Diff line number Diff line { lib, python3, fetchPypi, fetchFromGitHub, python3, withE2BE ? true, }: let python = python3.override { self = python; packageOverrides = self: super: { tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec { tulir-telethon = python3.pkgs.telethon.overrideAttrs ( finalAttrs: previousAttrs: { version = "1.99.0a6"; pname = "tulir_telethon"; src = fetchPypi { inherit pname version; hash = "sha256-ewqc6s5xXquZJTZVBsFmHeamBLDw6PnTSNcmTNKD0sk="; }; patches = [ ]; doCheck = false; }); }; src = fetchFromGitHub { owner = "tulir"; repo = "Telethon"; tag = "v${finalAttrs.version}"; hash = "sha256-ulnA+xKbZDOTzXYmF9oBWNBNhgxSiF+mKx1ijoCyo/w="; }; dontUsePytestCheck = true; } ); in python.pkgs.buildPythonPackage (finalAttrs: { python3.pkgs.buildPythonApplication (finalAttrs: { pname = "mautrix-telegram"; version = "0.15.3"; pyproject = true; src = fetchFromGitHub { owner = "mautrix"; Loading @@ -34,13 +34,17 @@ python.pkgs.buildPythonPackage (finalAttrs: { hash = "sha256-w3BqWyAJV/lZPoOFDzxhootpw451lYruwM9efwS6cEc="; }; format = "setuptools"; build-system = with python3.pkgs; [ setuptools ]; patches = [ ./0001-Re-add-entrypoint.patch ]; propagatedBuildInputs = with python.pkgs; ( pythonRelaxDeps = [ "mautrix" "ruamel.yaml" ]; dependencies = with python3.pkgs; [ ruamel-yaml python-magic Loading Loading @@ -73,8 +77,7 @@ python.pkgs.buildPythonPackage (finalAttrs: { python-olm pycryptodome unpaddedbase64 ] ); ]; # has no tests doCheck = false; Loading Loading
pkgs/by-name/ma/mautrix-telegram/package.nix +58 −55 Original line number Diff line number Diff line { lib, python3, fetchPypi, fetchFromGitHub, python3, withE2BE ? true, }: let python = python3.override { self = python; packageOverrides = self: super: { tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec { tulir-telethon = python3.pkgs.telethon.overrideAttrs ( finalAttrs: previousAttrs: { version = "1.99.0a6"; pname = "tulir_telethon"; src = fetchPypi { inherit pname version; hash = "sha256-ewqc6s5xXquZJTZVBsFmHeamBLDw6PnTSNcmTNKD0sk="; }; patches = [ ]; doCheck = false; }); }; src = fetchFromGitHub { owner = "tulir"; repo = "Telethon"; tag = "v${finalAttrs.version}"; hash = "sha256-ulnA+xKbZDOTzXYmF9oBWNBNhgxSiF+mKx1ijoCyo/w="; }; dontUsePytestCheck = true; } ); in python.pkgs.buildPythonPackage (finalAttrs: { python3.pkgs.buildPythonApplication (finalAttrs: { pname = "mautrix-telegram"; version = "0.15.3"; pyproject = true; src = fetchFromGitHub { owner = "mautrix"; Loading @@ -34,13 +34,17 @@ python.pkgs.buildPythonPackage (finalAttrs: { hash = "sha256-w3BqWyAJV/lZPoOFDzxhootpw451lYruwM9efwS6cEc="; }; format = "setuptools"; build-system = with python3.pkgs; [ setuptools ]; patches = [ ./0001-Re-add-entrypoint.patch ]; propagatedBuildInputs = with python.pkgs; ( pythonRelaxDeps = [ "mautrix" "ruamel.yaml" ]; dependencies = with python3.pkgs; [ ruamel-yaml python-magic Loading Loading @@ -73,8 +77,7 @@ python.pkgs.buildPythonPackage (finalAttrs: { python-olm pycryptodome unpaddedbase64 ] ); ]; # has no tests doCheck = false; Loading