2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
|
2018-11-04 11:47:22 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "httmock";
|
2021-07-07 14:33:10 +00:00
|
|
|
version = "1.4.0";
|
2018-11-04 11:47:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "patrys";
|
|
|
|
repo = "httmock";
|
|
|
|
rev = version;
|
2021-07-07 14:33:10 +00:00
|
|
|
sha256 = "sha256-yid4vh1do0zqVzd1VV7gc+Du4VPrkeGFsDHqNbHL28I=";
|
2018-11-04 11:47:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ requests ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-04 11:47:22 +00:00
|
|
|
description = "A mocking library for requests";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/patrys/httmock";
|
2018-11-04 11:47:22 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
};
|
|
|
|
}
|