about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/multimethod/default.nix
blob: ded279cd8606d505907f0c4025b8e848cc76336d (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pytest-cov
}:
buildPythonPackage rec {
  pname = "multimethod";
  version = "1.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b9c6f85ecf187f14a3951fff319643e1fac3086d757dec64f2469e1fd136b65d";
  };

  checkInputs = [
    pytestCheckHook
    pytest-cov
  ];

  pythomImportsCheck = [
    "multimethod"
  ];

  meta = with lib; {
    description = "Multiple argument dispatching";
    homepage = "https://github.com/coady/multimethod";
    license = licenses.asl20;
    maintainers = teams.determinatesystems.members;
  };
}