diff --git a/pkgs/development/python-modules/python-picnic-api2/default.nix b/pkgs/development/python-modules/python-picnic-api2/default.nix index aea6359f8abc..a133e49c4f03 100644 --- a/pkgs/development/python-modules/python-picnic-api2/default.nix +++ b/pkgs/development/python-modules/python-picnic-api2/default.nix @@ -1,8 +1,8 @@ { buildPythonPackage, fetchFromGitHub, + hatchling, lib, - poetry-core, pytestCheckHook, python-dotenv, requests, @@ -11,17 +11,17 @@ buildPythonPackage rec { pname = "python-picnic-api2"; - version = "1.2.2"; + version = "1.2.4"; pyproject = true; src = fetchFromGitHub { owner = "codesalatdev"; repo = "python-picnic-api"; tag = "v${version}"; - hash = "sha256-pO0aIdMKSC8AT/Bu5axl1NZbbF8IM/cOygLRT8eRKlU="; + hash = "sha256-vlb53f+k+oX9ycyTe/63u0qoqIn8kHKtCehl82Ks9wY="; }; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; dependencies = [ requests @@ -30,20 +30,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "python_picnic_api2" ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTestPaths = [ # tests access the actual API "integration_tests" ]; - disabledTests = [ - # tests don't expect requests to come with the br transfer-encoding - "test_update_auth_token" - ]; - meta = { changelog = "https://github.com/codesalatdev/python-picnic-api/releases/tag/${src.tag}"; description = "Fork of the Unofficial Python wrapper for the Picnic API";