1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pytest-cov
6}:
7buildPythonPackage rec {
8 pname = "multimethod";
9 version = "1.5";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "b9c6f85ecf187f14a3951fff319643e1fac3086d757dec64f2469e1fd136b65d";
14 };
15
16 checkInputs = [
17 pytestCheckHook
18 pytest-cov
19 ];
20
21 pythomImportsCheck = [
22 "multimethod"
23 ];
24
25 meta = with lib; {
26 description = "Multiple argument dispatching";
27 homepage = "https://github.com/coady/multimethod";
28 license = licenses.asl20;
29 maintainers = teams.determinatesystems.members;
30 };
31}