From 2d3db9e81cccbf727b839240440c9c23c182c508 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 5 May 2025 12:21:03 +0200 Subject: [PATCH 1/2] python3Packages.dropbox: fix eval warning --- pkgs/development/python-modules/dropbox/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/dropbox/default.nix b/pkgs/development/python-modules/dropbox/default.nix index 59eb019d66a4..58b2cb4310a3 100644 --- a/pkgs/development/python-modules/dropbox/default.nix +++ b/pkgs/development/python-modules/dropbox/default.nix @@ -49,7 +49,7 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ - --replace "'pytest-runner==5.2.0'," "" + --replace-fail "'pytest-runner==5.2.0'," "" ''; pythonImportsCheck = [ "dropbox" ]; From f04948a8560fb9d7a958a11b828ade372ea3d2cf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 5 May 2025 12:21:17 +0200 Subject: [PATCH 2/2] python3Packages.dropbox: clean up meta --- pkgs/development/python-modules/dropbox/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/dropbox/default.nix b/pkgs/development/python-modules/dropbox/default.nix index 58b2cb4310a3..7a0cac1e3971 100644 --- a/pkgs/development/python-modules/dropbox/default.nix +++ b/pkgs/development/python-modules/dropbox/default.nix @@ -90,11 +90,11 @@ buildPythonPackage rec { "test_bad_pins_session" ]; - meta = with lib; { + meta = { description = "Python library for Dropbox's HTTP-based Core and Datastore APIs"; homepage = "https://github.com/dropbox/dropbox-sdk-python"; - changelog = "https://github.com/dropbox/dropbox-sdk-python/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ sfrijters ]; + changelog = "https://github.com/dropbox/dropbox-sdk-python/releases/tag/${src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ sfrijters ]; }; }