Commit 4dfe7395 authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

python3Packages.netaddr: modernize

parent dcb9d228
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
  stdenv,
  buildPythonPackage,
  fetchPypi,
  pythonOlder,
  setuptools,
  pytestCheckHook,
}:
@@ -13,8 +12,6 @@ buildPythonPackage rec {
  version = "1.3.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-XDw9mJW1Ubdjd5un23oDSH3B+OOzha+BmvNBrp725Io=";
@@ -32,7 +29,7 @@ buildPythonPackage rec {
    else
      null;

  nativeBuildInputs = [ setuptools ];
  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];