python3Packages.granian: 2.6.0 -> 2.6.1

https://github.com/emmett-framework/granian/releases/tag/v2.6.1
This commit is contained in:
Martin Weinelt
2026-01-21 15:32:23 +01:00
parent b019130bca
commit 12fa7705be
@@ -20,14 +20,14 @@
buildPythonPackage rec {
pname = "granian";
version = "2.6.0";
version = "2.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "emmett-framework";
repo = "granian";
tag = "v${version}";
hash = "sha256-Jj75ycr9Y0aCTP5YGzd6um/7emWKqqegUDB7HpTfTcM=";
hash = "sha256-vsCDz749bmqFDzQeupYiNZlfIqwEmG2zIxdeCe4OHm4=";
};
# Granian forces a custom allocator for all the things it runs,
@@ -35,17 +35,12 @@ buildPythonPackage rec {
# and allow the final application to make the allocator decision
# via LD_PRELOAD or similar.
patches = [
(fetchurl {
# Refresh expired TLS certificates for tests
url = "https://github.com/emmett-framework/granian/commit/189f1bed2effb4a8a9cba07b2c5004e599a6a890.patch";
hash = "sha256-7FgVR7/lAh2P5ptGx6jlFzWuk24RY7wieN+aLaAEY+c=";
})
./no-alloc.patch
];
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-Q7BWwvkK5rRuhVobxW4qXLo6tnusOaQYN8mBoNVoulw=";
hash = "sha256-iQdcpCqXG1alVTbzCW3o4x0127zxyJCqtKyso9oVWS8=";
};
nativeBuildInputs = with rustPlatform; [