From 102a09869e7d0ef589ce775fb4aba3bb38bda8c6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 10 Mar 2024 10:32:18 +0100 Subject: [PATCH] python311Packages.types-decorator: refactor --- .../development/python-modules/types-decorator/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/types-decorator/default.nix b/pkgs/development/python-modules/types-decorator/default.nix index 24752829da9e..3cc020d8a9f2 100644 --- a/pkgs/development/python-modules/types-decorator/default.nix +++ b/pkgs/development/python-modules/types-decorator/default.nix @@ -1,18 +1,23 @@ { lib , buildPythonPackage , fetchPypi +, setuptools }: buildPythonPackage rec { pname = "types-decorator"; version = "5.1.8.20240310"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-UuMWsDeDiGqKKr3CKPcHFoC6ZYlFRc0ghevjz4hoSg4="; }; + nativeBuildInputs = [ + setuptools + ]; + # Modules doesn't have tests doCheck = false;