Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchpatch, fetchPypi, setuptools, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "cookies"; version = "2.2.1"; pyproject = true;
__structuredAttrs = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-1raYeIyuTPpOYu+GQ6nKMyt5vZbLMUKUuGSujX6z7o4="; };
patches = [ (fetchpatch { name = "fix-deprecations.patch"; url = "https://gitlab.com/sashahart/cookies/-/commit/22543d970568d577effe120c5a34636a38aa397b.patch"; hash = "sha256-8e3haOnbSXlL/ZY4uv6P4+ABBKrsCjbEpsLHaulbIUk="; }) ];
build-system = [ setuptools ];
nativeBuildInputs = [ pytestCheckHook ];
disabledTests = [ # https://gitlab.com/sashahart/cookies/-/issues/6 "test_encoding_assumptions" ];
pythonImportsCheck = [ "cookies" ];
meta = { description = "Friendlier RFC 6265-compliant cookie parser/renderer"; homepage = "https://github.com/sashahart/cookies"; license = lib.licenses.mit; };})