From 847174f08e6824e284540be51c95540effccdfdc Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 26 Aug 2022 21:46:56 +0100 Subject: [PATCH] authentik: more tweaks for mistune 0.8.4 --- nix/pkgs/authentik/pythonapp/default.nix | 8 ++++++++ third_party/default.nix | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nix/pkgs/authentik/pythonapp/default.nix b/nix/pkgs/authentik/pythonapp/default.nix index b0bb6f6017..09ed6532fc 100644 --- a/nix/pkgs/authentik/pythonapp/default.nix +++ b/nix/pkgs/authentik/pythonapp/default.nix @@ -26,6 +26,14 @@ let nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ self.pkgconfig pkgs.pkg-config ]; buildInputs = (old.buildInputs or []) ++ [ pkgs.xmlsec pkgs.libxslt pkgs.libxml2 pkgs.libtool ]; }); + mistune = super.mistune.overridePythonAttrs (old: rec { + version = "0.8.4"; + src = self.fetchPypi { + inherit (old) pname; + inherit version; + sha256 = "59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e"; + }; + }); hatch-vcs = (super.hatch-vcs or (self.buildPythonPackage rec { pname = "hatch-vcs"; version = "0.2.0"; diff --git a/third_party/default.nix b/third_party/default.nix index dc4bd8f4da..b1885a0e0d 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -7,7 +7,6 @@ let nixpkgsConfig = { allowUnfree = true; permittedInsecurePackages = [ - "python3.10-mistune-0.8.4" "p7zip-16.02" ]; packageOverrides = pkgs: {