Loading pkgs/development/python-modules/archinfo/default.nix +12 −19 Original line number Diff line number Diff line { lib , backports-strenum , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder , setuptools { lib, backports-strenum, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { Loading @@ -21,21 +22,13 @@ buildPythonPackage rec { hash = "sha256-EdVGm4453XxGrq2D1v5JzSZyroRNzluZ5/r74YAt5zU="; }; build-system = [ setuptools ]; build-system = [ setuptools ]; dependencies = lib.optionals (pythonOlder "3.11") [ backports-strenum ]; dependencies = lib.optionals (pythonOlder "3.11") [ backports-strenum ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "archinfo" ]; pythonImportsCheck = [ "archinfo" ]; meta = with lib; { description = "Classes with architecture-specific information"; Loading Loading
pkgs/development/python-modules/archinfo/default.nix +12 −19 Original line number Diff line number Diff line { lib , backports-strenum , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder , setuptools { lib, backports-strenum, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { Loading @@ -21,21 +22,13 @@ buildPythonPackage rec { hash = "sha256-EdVGm4453XxGrq2D1v5JzSZyroRNzluZ5/r74YAt5zU="; }; build-system = [ setuptools ]; build-system = [ setuptools ]; dependencies = lib.optionals (pythonOlder "3.11") [ backports-strenum ]; dependencies = lib.optionals (pythonOlder "3.11") [ backports-strenum ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "archinfo" ]; pythonImportsCheck = [ "archinfo" ]; meta = with lib; { description = "Classes with architecture-specific information"; Loading