From a3e33b69bac863837e63dfeac5fcd25f34c47ef1 Mon Sep 17 00:00:00 2001 From: Simon Chatterjee Date: Mon, 9 Sep 2019 19:15:41 +0100 Subject: [PATCH] pythonPackages.uvicorn: fix propagated LICENSE.md --- pkgs/development/python-modules/uvicorn/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/uvicorn/default.nix b/pkgs/development/python-modules/uvicorn/default.nix index 9f7efef1e843..a525846be767 100644 --- a/pkgs/development/python-modules/uvicorn/default.nix +++ b/pkgs/development/python-modules/uvicorn/default.nix @@ -43,6 +43,12 @@ buildPythonPackage rec { pytest ''; + # LICENCE.md gets propagated without this, causing collisions + # see https://github.com/encode/uvicorn/issues/392 + postInstall = '' + rm $out/LICENSE.md + ''; + meta = with lib; { homepage = https://www.uvicorn.org/; description = "The lightning-fast ASGI server";