nixpkgs/pkgs/development/python-modules/aioextensions/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

37 lines
737 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, pythonOlder
# Python dependencies
, uvloop
, pytest
}:
buildPythonPackage rec {
pname = "aioextensions";
version = "21.7.2261349";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "2eacc52692495f331437e8c8e9782ca71f4617ec84f174ca17acdd77631efc47";
};
propagatedBuildInputs = [ uvloop ];
nativeCheckInputs = [ pytest ];
checkPhase = ''
cd test/
pytest
'';
meta = with lib; {
description = "High performance functions to work with the async IO";
homepage = "https://kamadorueda.github.io/aioextensions";
license = licenses.mit;
maintainers = with maintainers; [ kamadorueda ];
};
}