summary refs log tree commit diff
path: root/pkgs/development/python-modules/httmock/default.nix
blob: cbf6b95ccd3654f822edc4685bbba4bdcd3a8b26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildPythonPackage, fetchFromGitHub, requests }:

buildPythonPackage rec {
  pname   = "httmock";
  version = "1.3.0";

  src = fetchFromGitHub {
    owner = "patrys";
    repo = "httmock";
    rev = version;
    sha256 = "1dy7pjq4gz476jcnbbpzk8w8qxr9l8wwgw9x2c7lf6fzsgnf404q";
  };

  checkInputs = [ requests ];

  meta = with lib; {
    description = "A mocking library for requests";
    homepage    = "https://github.com/patrys/httmock";
    license     = licenses.asl20;
    maintainers = with maintainers; [ nyanloutre ];
  };
}