pythonPackages.robotsuite: enable python3 build
This commit is contained in:
parent
beeb973b93
commit
f0aa5654ee
|
@ -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/;
|
||||
|
|
Loading…
Reference in New Issue