Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / multidict / default.nix
blob863e005d4a4b06e218bf483983768563e8625ef2
1 { lib
2 , fetchPypi
3 , buildPythonPackage
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "multidict";
10   version = "6.0.4";
12   disabled = pythonOlder "3.7";
14   format = "setuptools";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-NmaQZJLvt2RTwOe5fyz0WbBoLnQCwEialUhJZdvB2kk=";
19   };
21   postPatch = ''
22     sed -i '/^addopts/d' setup.cfg
23   '';
25   nativeCheckInputs = [ pytestCheckHook ];
27   pythonImportsCheck = [ "multidict" ];
29   meta = with lib; {
30     changelog = "https://github.com/aio-libs/multidict/blob/v${version}/CHANGES.rst";
31     description = "Multidict implementation";
32     homepage = "https://github.com/aio-libs/multidict/";
33     license = licenses.asl20;
34     maintainers = with maintainers; [ dotlambda ];
35   };