nixpkgs/pkgs/development/python-modules/httmock/default.nix

23 lines
551 B
Nix
Raw Normal View History

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