Loading pkgs/development/python-modules/starlette-compress/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, hatchling, brotli, brotlicffi, starlette, zstandard, pytestCheckHook, httpx, trio, }: buildPythonPackage rec { pname = "starlette-compress"; version = "1.6.0"; pyproject = true; src = fetchFromGitHub { owner = "Zaczero"; repo = "starlette-compress"; tag = version; hash = "sha256-VEVPbCGE4BQo/0t/P785TyMHZGSKCicV6H0LbBsv8uo="; }; build-system = [ hatchling ]; dependencies = [ brotli brotlicffi starlette zstandard ]; checkInputs = [ httpx trio ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "starlette_compress" ]; meta = { description = "Compression middleware for Starlette - supporting ZStd, Brotli, and GZip"; homepage = "https://pypi.org/p/starlette-compress"; license = lib.licenses.bsd0; maintainers = with lib.maintainers; [ wrvsrx ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -16726,6 +16726,8 @@ self: super: with self; { starlette-admin = callPackage ../development/python-modules/starlette-admin { }; starlette-compress = callPackage ../development/python-modules/starlette-compress { }; starlette-context = callPackage ../development/python-modules/starlette-context { }; starlette-wtf = callPackage ../development/python-modules/starlette-wtf { }; Loading
pkgs/development/python-modules/starlette-compress/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, hatchling, brotli, brotlicffi, starlette, zstandard, pytestCheckHook, httpx, trio, }: buildPythonPackage rec { pname = "starlette-compress"; version = "1.6.0"; pyproject = true; src = fetchFromGitHub { owner = "Zaczero"; repo = "starlette-compress"; tag = version; hash = "sha256-VEVPbCGE4BQo/0t/P785TyMHZGSKCicV6H0LbBsv8uo="; }; build-system = [ hatchling ]; dependencies = [ brotli brotlicffi starlette zstandard ]; checkInputs = [ httpx trio ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "starlette_compress" ]; meta = { description = "Compression middleware for Starlette - supporting ZStd, Brotli, and GZip"; homepage = "https://pypi.org/p/starlette-compress"; license = lib.licenses.bsd0; maintainers = with lib.maintainers; [ wrvsrx ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -16726,6 +16726,8 @@ self: super: with self; { starlette-admin = callPackage ../development/python-modules/starlette-admin { }; starlette-compress = callPackage ../development/python-modules/starlette-compress { }; starlette-context = callPackage ../development/python-modules/starlette-context { }; starlette-wtf = callPackage ../development/python-modules/starlette-wtf { };