1{ lib
2, fetchPypi
3, buildPythonPackage
4, pytest, pytestrunner, pytestcov
5, isPy3k
6, isPy38
7}:
8
9buildPythonPackage rec {
10 pname = "multidict";
11 version = "4.7.6";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "fbb77a75e529021e7c4a8d4e823d88ef4d23674a202be4f5addffc72cbb91430";
16 };
17
18 checkInputs = [ pytest pytestrunner pytestcov ];
19
20 disabled = !isPy3k;
21 # pickle files needed for 3.8 https://github.com/aio-libs/multidict/pull/363
22 doCheck = !isPy38;
23
24 meta = with lib; {
25 description = "Multidict implementation";
26 homepage = "https://github.com/aio-libs/multidict/";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ dotlambda ];
29 };
30}