1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
50 lines
870 B
Nix
50 lines
870 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
certifi,
|
|
cryptography,
|
|
fetchPypi,
|
|
openssl,
|
|
pylsqpack,
|
|
pyopenssl,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
service-identity,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioquic";
|
|
version = "1.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-+RJjuz9xlIxciRW01Q7jcABPIKQW9n+rPcyQVWx+cZk=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
certifi
|
|
cryptography
|
|
pylsqpack
|
|
pyopenssl
|
|
service-identity
|
|
];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "aioquic" ];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = {
|
|
description = "Implementation of QUIC and HTTP/3";
|
|
homepage = "https://github.com/aiortc/aioquic";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ onny ];
|
|
};
|
|
}
|