Loading pkgs/development/python-modules/fake-useragent/default.nix +11 −8 Original line number Diff line number Diff line Loading @@ -27,22 +27,25 @@ buildPythonPackage rec { sed -i '/addopts/d' pytest.ini ''; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; propagatedBuildInputs = [ ] ++ lib.optionals (pythonOlder "3.10") [ importlib-resources ] dependencies = lib.optionals (pythonOlder "3.10") [ importlib-resources ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "fake_useragent" ]; meta = with lib; { disabledTests = lib.optionals (pythonOlder "3.12") [ "test_utils_load_pkg_resource_fallback" ]; meta = { changelog = "https://github.com/fake-useragent/fake-useragent/releases/tag/${version}"; description = "Up to date simple useragent faker with real world database"; homepage = "https://github.com/hellysmile/fake-useragent"; changelog = "https://github.com/fake-useragent/fake-useragent/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ evanjs ]; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ evanjs ]; }; } Loading
pkgs/development/python-modules/fake-useragent/default.nix +11 −8 Original line number Diff line number Diff line Loading @@ -27,22 +27,25 @@ buildPythonPackage rec { sed -i '/addopts/d' pytest.ini ''; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; propagatedBuildInputs = [ ] ++ lib.optionals (pythonOlder "3.10") [ importlib-resources ] dependencies = lib.optionals (pythonOlder "3.10") [ importlib-resources ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "fake_useragent" ]; meta = with lib; { disabledTests = lib.optionals (pythonOlder "3.12") [ "test_utils_load_pkg_resource_fallback" ]; meta = { changelog = "https://github.com/fake-useragent/fake-useragent/releases/tag/${version}"; description = "Up to date simple useragent faker with real world database"; homepage = "https://github.com/hellysmile/fake-useragent"; changelog = "https://github.com/fake-useragent/fake-useragent/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ evanjs ]; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ evanjs ]; }; }