pythonPackages.robotframework-selenium2library: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 12:21:24 -04:00 committed by Frederik Rietdijk
parent 021b194680
commit 21746c1250
2 changed files with 31 additions and 21 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, robotframework
, selenium
, docutils
, decorator
}:
buildPythonPackage rec {
version = "1.6.0";
pname = "robotframework-selenium2library";
src = fetchPypi {
inherit pname version;
sha256 = "1asdwrpb4s7q08bx641yrh3yicgba14n3hxmsqs58mqf86ignwly";
};
# error: invalid command 'test'
#doCheck = false;
propagatedBuildInputs = [ robotframework selenium docutils decorator ];
meta = with stdenv.lib; {
description = "Web testing library for Robot Framework";
homepage = http://robotframework.org/;
license = licenses.asl20;
};
}

View File

@ -3616,27 +3616,7 @@ in {
robotframework = callPackage ../development/python-modules/robotframework { }; robotframework = callPackage ../development/python-modules/robotframework { };
robotframework-selenium2library = buildPythonPackage rec { robotframework-selenium2library = callPackage ../development/python-modules/robotframework-selenium2library { };
version = "1.6.0";
name = "robotframework-selenium2library-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/r/robotframework-selenium2library/${name}.tar.gz";
sha256 = "1asdwrpb4s7q08bx641yrh3yicgba14n3hxmsqs58mqf86ignwly";
};
# error: invalid command 'test'
#doCheck = false;
propagatedBuildInputs = with self; [ robotframework selenium docutils decorator ];
meta = {
description = "";
homepage = http://robotframework.org/;
license = licenses.asl20;
};
};
robotframework-tools = buildPythonPackage rec { robotframework-tools = buildPythonPackage rec {
version = "0.1a115"; version = "0.1a115";