From 627c3b44e4c2b5d4654f31c84656b5585dbbd11e Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Wed, 21 Sep 2022 23:50:58 -0400 Subject: [PATCH] python3Packages.deap: remove 2to3-related code --- pkgs/development/python-modules/deap/default.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/deap/default.nix b/pkgs/development/python-modules/deap/default.nix index 9830a8c0276e..56b630fda6e5 100644 --- a/pkgs/development/python-modules/deap/default.nix +++ b/pkgs/development/python-modules/deap/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi, python, numpy, matplotlib, nose }: +{ lib, buildPythonPackage, fetchPypi, numpy, matplotlib, nose }: buildPythonPackage rec { pname = "deap"; @@ -9,16 +9,8 @@ buildPythonPackage rec { sha256 = "sha256-h3LxsP/wQtXlFrCuusLHBiQwRap9DejguGWPOAGBzzE="; }; - postPatch = '' - sed -i '/use_2to3=True/d' setup.py - ''; - propagatedBuildInputs = [ numpy matplotlib ]; - preBuild = '' - 2to3 -wn deap - ''; - checkInputs = [ nose ]; checkPhase = '' nosetests --verbosity=3