1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

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

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/;