From 76a0144a19fffd3bc9ffe1e02aeecc0361c8f122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 1 Sep 2024 11:23:14 -0700 Subject: [PATCH] python312Packages.flipr-api: 1.5.1 -> 1.6.0 Diff: https://github.com/cnico/flipr-api/compare/refs/tags/1.5.1...1.6.0 Changelog: https://github.com/cnico/flipr-api/releases/tag/1.6.0 --- .../python-modules/flipr-api/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/flipr-api/default.nix b/pkgs/development/python-modules/flipr-api/default.nix index 336e16e811ed..e8cd063468e8 100644 --- a/pkgs/development/python-modules/flipr-api/default.nix +++ b/pkgs/development/python-modules/flipr-api/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "flipr-api"; - version = "1.5.1"; + version = "1.6.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,12 +22,12 @@ buildPythonPackage rec { owner = "cnico"; repo = "flipr-api"; rev = "refs/tags/${version}"; - hash = "sha256-xgLi2lH+EPPNlMixqOzdBGVLuoJh5dhZ2tHZ0UH+lOk="; + hash = "sha256-sFCeWfu5rwImIizzik9RzfCWaEHiqhsQrapfuCXHr+4="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ python-dateutil requests ]; @@ -38,6 +38,12 @@ buildPythonPackage rec { pytestCheckHook ]; + env = { + # used in test_session + FLIPR_USERNAME = "foobar"; + FLIPR_PASSWORD = "secret"; + }; + pythonImportsCheck = [ "flipr_api" ]; meta = with lib; { @@ -45,7 +51,7 @@ buildPythonPackage rec { mainProgram = "flipr-api"; homepage = "https://github.com/cnico/flipr-api"; changelog = "https://github.com/cnico/flipr-api/releases/tag/${version}"; - license = licenses.mit; + license = licenses.gpl3Plus; maintainers = with maintainers; [ fab ]; }; }