diff --git a/pkgs/development/python-modules/robotframework-selenium2library/default.nix b/pkgs/development/python-modules/robotframework-selenium2library/default.nix new file mode 100644 index 000000000000..15fd977936bc --- /dev/null +++ b/pkgs/development/python-modules/robotframework-selenium2library/default.nix @@ -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; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e3f219b6ab1b..ab5cc5e3d1a6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3616,27 +3616,7 @@ in { robotframework = callPackage ../development/python-modules/robotframework { }; - robotframework-selenium2library = buildPythonPackage rec { - 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-selenium2library = callPackage ../development/python-modules/robotframework-selenium2library { }; robotframework-tools = buildPythonPackage rec { version = "0.1a115";