summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/callee/default.nix
blob: be72751f1447e62241a6dc8c7edd630f4f6965d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "callee";
  version = "0.3.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "Xion";
    repo = "callee";
    tag = version;
    hash = "sha256-dsXMY3bW/70CmTfCuy5KjxPa+NLCzxzWv5e1aV2NEWE=";
  };

  pythonImportsCheck = [ "callee" ];

  doCheck = false; # missing dependency

  nativeCheckInputs = [
    # taipan missing, unmaintained, not python3.10 compatible
    pytestCheckHook
  ];

  meta = {
    description = "Argument matchers for unittest.mock";
    homepage = "https://github.com/Xion/callee";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ hexa ];
  };
}