python314Packages.python-picnic-api2: 1.3.2 -> 1.3.4
Diff: https://github.com/codesalatdev/python-picnic-api/compare/v1.3.2...v1.3.4 Changelog: https://github.com/codesalatdev/python-picnic-api/releases/tag/v1.3.4
This commit is contained in:
committed by
Robert Schütz
parent
47f535334a
commit
e5fb9c44ac
@@ -4,23 +4,28 @@
|
||||
hatchling,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
python-dotenv,
|
||||
pythonAtLeast,
|
||||
requests,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-picnic-api2";
|
||||
version = "1.3.2";
|
||||
version = "1.3.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "codesalatdev";
|
||||
repo = "python-picnic-api";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-GFxs2ZjyGADMG8YWtpy+sAZClLOYt70KtEp5MCgY+7I=";
|
||||
hash = "sha256-ytzzGr/z0jrsudtCBrcvGITo4DxxC8JCmSmQ8ybeomM=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (pythonAtLeast "3.14") ''
|
||||
substituteInPlace tests/test_session.py \
|
||||
--replace-fail '"Accept-Encoding": "gzip, deflate",' '"Accept-Encoding": "gzip, deflate, zstd",'
|
||||
'';
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user