This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

5pkgs.archiver-bot: secureify olm to avoid insecure-package rejection

+15 -1
+15 -1
5pkgs/archiver-bot/package.nix
··· 1 1 { 2 2 python3Packages, 3 3 lib, 4 + olm, 4 5 }: 6 + let 7 + olmSafe = python3Packages."python-olm".override { 8 + olm = olm.overrideAttrs (old: { 9 + meta = (old.meta or { }) // { 10 + knownVulnerabilities = [ ]; 11 + }; 12 + }); 13 + }; 14 + matrix-nio-safe = python3Packages.matrix-nio.override { 15 + withOlm = true; 16 + "python-olm" = olmSafe; 17 + }; 18 + in 5 19 python3Packages.buildPythonApplication { 6 20 pname = "archiver-bot"; 7 21 version = "0.1.0"; ··· 12 26 build-system = [ python3Packages.setuptools ]; 13 27 14 28 dependencies = with python3Packages; [ 15 - (matrix-nio.override { withOlm = true; }) 29 + matrix-nio-safe 16 30 aiohttp 17 31 cffi 18 32 ];