depot/third_party/nixpkgs/pkgs/development/python-modules/multidict/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

33 lines
649 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "multidict";
version = "6.0.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-X/O9dfOOTEPx9HDy33pNQwuCHEziK+OE4UWctX1rsBM=";
};
postPatch = ''
sed -i '/^addopts/d' setup.cfg
'';
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "multidict" ];
meta = with lib; {
description = "Multidict implementation";
homepage = "https://github.com/aio-libs/multidict/";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}