diff options
| author | Fabian Affolter <mail@fabian-affolter.ch> | 2026-01-19 02:58:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-19 02:58:04 +0100 |
| commit | 3f6f41c766874056d2b470482bcb903a81bd6079 (patch) | |
| tree | 227ebceab881a836c04d60807b0dacbe03b2e555 | |
| parent | cd0fafc603a5d6386a97ada07d17be7155998cb9 (diff) | |
python313Packages.types-regex: migrate to finalAttrs
- add doCheck
| -rw-r--r-- | pkgs/development/python-modules/types-regex/default.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/types-regex/default.nix b/pkgs/development/python-modules/types-regex/default.nix index 3853f855eb49..31474f561da8 100644 --- a/pkgs/development/python-modules/types-regex/default.nix +++ b/pkgs/development/python-modules/types-regex/default.nix @@ -5,24 +5,23 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "types-regex"; version = "2026.1.15.20260116"; pyproject = true; src = fetchPypi { pname = "types_regex"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-cVGpvMW7+ez8z4M1xFGsqCBPWgmS4GIqr69IKHbO5Pc="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; - pythonImportsCheck = [ - "regex-stubs" - ]; + pythonImportsCheck = [ "regex-stubs" ]; + + # Module has no tests + doCheck = false; meta = { description = "Typing stubs for regex"; @@ -30,4 +29,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dwoffinden ]; }; -} +}) |
