biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / cookies / default.nix
blobbd58002178d1aca65a9af9e16f938228e06e15b0
2   lib,
3   buildPythonPackage,
4   fetchpatch,
5   fetchPypi,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "cookies";
11   version = "2.2.1";
12   format = "setuptools";
14   src = fetchPypi {
15     inherit pname version;
16     hash = "sha256-1raYeIyuTPpOYu+GQ6nKMyt5vZbLMUKUuGSujX6z7o4=";
17   };
19   patches = [
20     (fetchpatch {
21       name = "fix-deprecations.patch";
22       url = "https://gitlab.com/sashahart/cookies/-/commit/22543d970568d577effe120c5a34636a38aa397b.patch";
23       hash = "sha256-8e3haOnbSXlL/ZY4uv6P4+ABBKrsCjbEpsLHaulbIUk=";
24     })
25   ];
27   nativeBuildInputs = [ pytestCheckHook ];
29   disabledTests = [
30     # https://gitlab.com/sashahart/cookies/-/issues/6
31     "test_encoding_assumptions"
32   ];
34   meta = with lib; {
35     description = "Friendlier RFC 6265-compliant cookie parser/renderer";
36     homepage = "https://github.com/sashahart/cookies";
37     license = licenses.mit;
38   };