From a9d89e29bf9e00483d937cc6a82ac927954d7438 Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 19 Feb 2024 20:42:38 +0100 Subject: [PATCH] fixed http downloads --- derivation.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/derivation.nix b/derivation.nix index a0b337d..da9e53b 100644 --- a/derivation.nix +++ b/derivation.nix @@ -39,6 +39,15 @@ pkgs.python3Packages.buildPythonPackage rec { hash = "sha256-S/2eFfIRL26OaMUZQ0B628tmWjyaLqQCUmGTVqBBSsA="; }; + patches = [ + # fix http downloads + (pkgs.fetchpatch { + url = "https://github.com/dd-ix/arouteserver/commit/fc0e78acb78c4ccb1a90db416456ccf03cbf5a42.patch"; + hash = "sha256-SfNmF1t0veCItpLPf4e6zXtNpu2pj3gpCu2b3Bca8gI="; + }) + ]; + + nativeBuildInputs = with pkgs.python3Packages; [ setuptools ];