summary refs log tree commit diff
path: root/pkgs/development/python-modules/httmock/default.nix
blob: b50753c5586491ca07bddde9c35c2d3758d87b94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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 ];
  };
}