Loading pkgs/development/python-modules/ipwhois/default.nix +8 −15 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, stdenv, buildPythonPackage, defusedxml, dnspython, fetchFromGitHub, fetchpatch, Loading @@ -14,7 +15,7 @@ buildPythonPackage rec { pname = "ipwhois"; version = "1.2.0"; version = "1.3.0"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -23,27 +24,19 @@ buildPythonPackage rec { owner = "secynic"; repo = "ipwhois"; rev = "refs/tags/v${version}"; hash = "sha256-2CfRRHlIIaycUtzKeMBKi6pVPeBCb1nW3/1hoxQU1YM="; hash = "sha256-PY3SUPELcCvS/o5kfko4OD1BlTc9DnyqfkSFuzcAOSY="; }; patches = [ # Use assertEqual instead of assertEquals, https://github.com/secynic/ipwhois/pull/316 (fetchpatch { name = "assert-equal.patch"; url = "https://github.com/secynic/ipwhois/commit/fce2761354af99bc169e6cd08057e838fcc40f75.patch"; hash = "sha256-7Ic4xWTAmklk6MvnZ/WsH9SW/4D9EG/jFKt5Wi89Xtc="; }) ]; __darwinAllowLocalNetworking = true; pythonRelaxDeps = [ "dnspython" ]; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; propagatedBuildInputs = [ dnspython ]; dependencies = [ defusedxml dnspython ]; nativeCheckInputs = [ pytestCheckHook ]; Loading Loading
pkgs/development/python-modules/ipwhois/default.nix +8 −15 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, stdenv, buildPythonPackage, defusedxml, dnspython, fetchFromGitHub, fetchpatch, Loading @@ -14,7 +15,7 @@ buildPythonPackage rec { pname = "ipwhois"; version = "1.2.0"; version = "1.3.0"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -23,27 +24,19 @@ buildPythonPackage rec { owner = "secynic"; repo = "ipwhois"; rev = "refs/tags/v${version}"; hash = "sha256-2CfRRHlIIaycUtzKeMBKi6pVPeBCb1nW3/1hoxQU1YM="; hash = "sha256-PY3SUPELcCvS/o5kfko4OD1BlTc9DnyqfkSFuzcAOSY="; }; patches = [ # Use assertEqual instead of assertEquals, https://github.com/secynic/ipwhois/pull/316 (fetchpatch { name = "assert-equal.patch"; url = "https://github.com/secynic/ipwhois/commit/fce2761354af99bc169e6cd08057e838fcc40f75.patch"; hash = "sha256-7Ic4xWTAmklk6MvnZ/WsH9SW/4D9EG/jFKt5Wi89Xtc="; }) ]; __darwinAllowLocalNetworking = true; pythonRelaxDeps = [ "dnspython" ]; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; propagatedBuildInputs = [ dnspython ]; dependencies = [ defusedxml dnspython ]; nativeCheckInputs = [ pytestCheckHook ]; Loading