2018-11-04 12:47:22 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchFromGitHub, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "httmock";
|
2019-02-09 12:39:55 +01:00
|
|
|
version = "1.3.0";
|
2018-11-04 12:47:22 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "patrys";
|
|
|
|
repo = "httmock";
|
|
|
|
rev = version;
|
2019-02-09 12:39:55 +01:00
|
|
|
sha256 = "1dy7pjq4gz476jcnbbpzk8w8qxr9l8wwgw9x2c7lf6fzsgnf404q";
|
2018-11-04 12:47:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ requests ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A mocking library for requests";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/patrys/httmock";
|
2018-11-04 12:47:22 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
};
|
|
|
|
}
|