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

This commit is contained in:
Chris Ostrouchov 2018-10-26 12:31:18 -04:00 committed by Frederik Rietdijk
parent e375bb1847
commit a76d30d039
2 changed files with 29 additions and 17 deletions

View File

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, unittest2
, robotframework
, lxml
, requests
}:
buildPythonPackage rec {
version = "0.4.6";
pname = "robotframework-requests";
src = fetchPypi {
inherit pname version;
sha256 = "0416rxg7g0pfg77akljnkass0xz0id26v4saag2q2h1fgwrm7n4q";
};
buildInputs = [ unittest2 ];
propagatedBuildInputs = [ robotframework lxml requests ];
meta = with stdenv.lib; {
description = "Robot Framework keyword library wrapper around the HTTP client library requests";
homepage = https://github.com/bulkan/robotframework-requests;
license = licenses.mit;
};
}

View File

@ -3624,23 +3624,7 @@ in {
robotframework-ride = callPackage ../development/python-modules/robotframework-ride { };
robotframework-requests = buildPythonPackage rec {
version = "0.4.6";
name = "robotframework-requests-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/ad/da/51359b11d2005ff425984205677890fafaf270a71b03df22c255501bc99d/robotframework-requests-0.4.6.tar.gz";
sha256 = "0416rxg7g0pfg77akljnkass0xz0id26v4saag2q2h1fgwrm7n4q";
};
buildInputs = with self; [ unittest2 ];
propagatedBuildInputs = with self; [ robotframework lxml requests ];
meta = {
description = "Robot Framework keyword library wrapper around the HTTP client library requests";
homepage = https://github.com/bulkan/robotframework-requests;
};
};
robotframework-requests = callPackage ../development/python-modules/robotframework-requests { };
root_numpy = callPackage ../development/python-modules/root_numpy { };