From 9bedd92dd9022a395f89aff29286bebc9fd94900 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 Mar 2023 18:50:36 +0100 Subject: [PATCH] python310Packages.py_stringmatching: normalize pname --- .../python-modules/py_stringmatching/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/py_stringmatching/default.nix b/pkgs/development/python-modules/py_stringmatching/default.nix index 9479fbe9c814..8c49de1e5287 100644 --- a/pkgs/development/python-modules/py_stringmatching/default.nix +++ b/pkgs/development/python-modules/py_stringmatching/default.nix @@ -8,20 +8,26 @@ }: buildPythonPackage rec { - pname = "py_stringmatching"; + pname = "py-stringmatching"; version = "0.4.3"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { - inherit pname version; + pname = "py_stringmatching"; + inherit version; sha256 = "sha256-khubsWOzEN80HDOCORMgT3sMqfajGfW0UUCDAL03je4="; }; - nativeCheckInputs = [ nose ]; + propagatedBuildInputs = [ + numpy + six + ]; - propagatedBuildInputs = [ numpy six ]; + nativeCheckInputs = [ + nose + ]; pythonImportsCheck = [ "py_stringmatching"