From 8525a69076805a540b2a7652f77f4ab78d320f29 Mon Sep 17 00:00:00 2001 From: Eric Berquist Date: Mon, 19 Aug 2024 21:05:42 -0400 Subject: [PATCH] python3Packages.array-api-strict: refactor - remove meta with lib (https://github.com/NixOS/nixpkgs/issues/208242) - use with lib.maintainers (https://github.com/NixOS/nixpkgs/issues/331085) - remove unnecessary trivial nix-update-script for Python packages --- .../python-modules/array-api-strict/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/array-api-strict/default.nix b/pkgs/development/python-modules/array-api-strict/default.nix index d562aac4c523..7450717251b2 100644 --- a/pkgs/development/python-modules/array-api-strict/default.nix +++ b/pkgs/development/python-modules/array-api-strict/default.nix @@ -6,7 +6,6 @@ numpy, pytestCheckHook, hypothesis, - nix-update-script, }: buildPythonPackage rec { @@ -37,13 +36,11 @@ buildPythonPackage rec { "test_environment_variables" ]; - passthru.updateScript = nix-update-script { }; - - meta = with lib; { + meta = { homepage = "https://data-apis.org/array-api-strict"; changelog = "https://github.com/data-apis/array-api-strict/releases/tag/${version}"; description = "A strict, minimal implementation of the Python array API"; - license = licenses.bsd3; - maintainers = [ maintainers.berquist ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ berquist ]; }; }