From 10bccd2952b8c67a113e76cc98e4d9507472b0f7 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Thu, 31 Oct 2019 00:47:28 +0100 Subject: [PATCH] uhd: fix outdated python module (Mako) --- pkgs/applications/radio/uhd/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/radio/uhd/default.nix b/pkgs/applications/radio/uhd/default.nix index 4b5c2c68344..76519062f59 100644 --- a/pkgs/applications/radio/uhd/default.nix +++ b/pkgs/applications/radio/uhd/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig -, python, pythonPackages, orc, libusb1, boost }: +, python, orc, libusb1, boost }: # You need these udev rules to not have to run as root (copied from # ${uhd}/share/uhd/utils/uhd-usrp.rules): @@ -40,7 +40,12 @@ in stdenv.mkDerivation { [ (stdenv.lib.optionalString stdenv.isAarch32 "-DCMAKE_CXX_FLAGS=-Wno-psabi") ]; nativeBuildInputs = [ cmake pkgconfig ]; - buildInputs = [ python pythonPackages.pyramid_mako orc libusb1 boost ]; + buildInputs = [ + (python.withPackages (ps: with ps; [ Mako six requests ])) + orc + libusb1 + boost + ]; # Build only the host software preConfigure = "cd host";