From bd8957601332218546c762c4a06a30cb9b96b1cb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 27 Apr 2024 19:41:42 +0200 Subject: [PATCH 1/2] python312Packages.python-whois: 0.9.3 -> 0.9.4 --- pkgs/development/python-modules/python-whois/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-whois/default.nix b/pkgs/development/python-modules/python-whois/default.nix index a9bb5cdd8e38..84a769e32ffc 100644 --- a/pkgs/development/python-modules/python-whois/default.nix +++ b/pkgs/development/python-modules/python-whois/default.nix @@ -11,14 +11,15 @@ buildPythonPackage rec { pname = "python-whois"; - version = "0.9.3"; + version = "0.9.4"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { - inherit pname version; - hash = "sha256-jdoscMD4nw+PxIpCNweJMyv/9nm1+kYgSIhBUdJso84="; + pname = "python_whois"; + inherit version; + hash = "sha256-d7xzR7+BXWXM0ZZxHCmDdlLwdYWu2tPDwE3YhWUf16c="; }; build-system = [ From c21d362df9a2aeba17637f98e2fe43ea2c676683 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 27 Apr 2024 19:41:59 +0200 Subject: [PATCH 2/2] python312Packages.python-whois: format with nixfmt --- .../python-modules/python-whois/default.nix | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/python-whois/default.nix b/pkgs/development/python-modules/python-whois/default.nix index 84a769e32ffc..be1186c5ee9c 100644 --- a/pkgs/development/python-modules/python-whois/default.nix +++ b/pkgs/development/python-modules/python-whois/default.nix @@ -1,12 +1,13 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pynose -, pytestCheckHook -, python-dateutil -, pythonOlder -, setuptools -, simplejson +{ + lib, + buildPythonPackage, + fetchPypi, + pynose, + pytestCheckHook, + python-dateutil, + pythonOlder, + setuptools, + simplejson, }: buildPythonPackage rec { @@ -22,13 +23,9 @@ buildPythonPackage rec { hash = "sha256-d7xzR7+BXWXM0ZZxHCmDdlLwdYWu2tPDwE3YhWUf16c="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; - dependencies = [ - python-dateutil - ]; + dependencies = [ python-dateutil ]; nativeCheckInputs = [ pynose @@ -46,9 +43,7 @@ buildPythonPackage rec { "test_simple_unicode_domain" ]; - pythonImportsCheck = [ - "whois" - ]; + pythonImportsCheck = [ "whois" ]; meta = with lib; { description = "Python module to produce parsed WHOIS data";