nixpkgs-suyu/pkgs/development/python-modules/httmock/default.nix
2018-11-04 12:47:22 +01:00

22 lines
551 B
Nix

{ 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 ];
};
}