pythonPackages.httmock: init at 1.2.6

This commit is contained in:
nyanloutre 2018-11-04 12:47:22 +01:00
parent c70ad805d2
commit 1ee4c64511
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, requests }:
buildPythonPackage rec {
pname = "httmock";
version = "1.2.6";
src = fetchFromGitHub {
owner = "patrys";
repo = "httmock";
rev = version;
sha256 = "0iya8qsb2jm03s9p6sf1yzgm1irxl3dcq0k0a9ygl0skzjz5pvab";
};
checkInputs = [ requests ];
meta = with stdenv.lib; {
description = "A mocking library for requests";
homepage = https://github.com/patrys/httmock;
license = licenses.asl20;
maintainers = with maintainers; [ nyanloutre ];
};
}

View File

@ -2438,6 +2438,8 @@ in {
html5lib = callPackage ../development/python-modules/html5lib { }; html5lib = callPackage ../development/python-modules/html5lib { };
httmock = callPackage ../development/python-modules/httmock { };
http_signature = callPackage ../development/python-modules/http_signature { }; http_signature = callPackage ../development/python-modules/http_signature { };
httpbin = callPackage ../development/python-modules/httpbin { }; httpbin = callPackage ../development/python-modules/httpbin { };