From 67caa7f8fd404fca055388325f5daa7d4b7b2f5e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 11 Aug 2024 12:55:30 +0200 Subject: [PATCH] python312Packages.python-hosts: 1.0.6 -> 1.0.7 Changelog: https://github.com/jonhadfield/python-hosts/blob/1.0.7/CHANGELOG.md --- .../python-modules/python-hosts/default.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/python-hosts/default.nix b/pkgs/development/python-modules/python-hosts/default.nix index b8c54f2e330f..0f582e760250 100644 --- a/pkgs/development/python-modules/python-hosts/default.nix +++ b/pkgs/development/python-modules/python-hosts/default.nix @@ -10,25 +10,18 @@ buildPythonPackage rec { pname = "python-hosts"; - version = "1.0.6"; + version = "1.0.7"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { - inherit pname version; - hash = "sha256-LfWfBzJ3UyArcHxrIUDsIa8pIr1WkUikf6F6v+IVLG4="; + pname = "python_hosts"; + inherit version; + hash = "sha256-TFaZHiL2v/woCWgz3nh/kjUOhbfN1ghnBnJcVcTwSrk="; }; - # win_inet_pton is required for Windows support - prePatch = '' - substituteInPlace setup.py \ - --replace "install_requires=['win_inet_pton']," "" - substituteInPlace python_hosts/utils.py \ - --replace "import win_inet_pton" "" - ''; - - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; nativeCheckInputs = [ pyyaml