From 55a489ac9ea8d6c695b827211bbeb2fa8c121fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 20 Mar 2021 20:14:42 +0100 Subject: [PATCH] pythonPackages.drf-yasg: does not depend on packaging --- pkgs/development/python-modules/drf-yasg/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/drf-yasg/default.nix b/pkgs/development/python-modules/drf-yasg/default.nix index d69ece809bb..3935119971b 100644 --- a/pkgs/development/python-modules/drf-yasg/default.nix +++ b/pkgs/development/python-modules/drf-yasg/default.nix @@ -19,6 +19,11 @@ buildPythonPackage rec { sha256 = "d50f197c7f02545d0b736df88c6d5cf874f8fea2507ad85ad7de6ae5bf2d9e5a"; }; + postPatch = '' + # https://github.com/axnsan12/drf-yasg/pull/710 + substituteInPlace requirements/base.txt --replace packaging "" + ''; + nativeBuildInputs = [ setuptools_scm ];