pythonPackages.robotsuite: enable python3 build

This commit is contained in:
rnhmjoj 2018-08-05 15:33:14 +02:00
parent beeb973b93
commit f0aa5654ee
No known key found for this signature in database
GPG Key ID: 91BE884FBA4B591A
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, unittest2, robotframework, lxml }:
{ stdenv, buildPythonPackage, fetchPypi
, unittest2, lxml, robotframework
}:
buildPythonPackage rec {
pname = "robotsuite";
@ -12,6 +14,11 @@ buildPythonPackage rec {
buildInputs = [ unittest2 ];
propagatedBuildInputs = [ robotframework lxml ];
postPatch = ''
substituteInPlace setup.py \
--replace robotframework-python3 robotframework
'';
meta = with stdenv.lib; {
description = "Python unittest test suite for Robot Framework";
homepage = https://github.com/collective/robotsuite/;