13 buildPythonPackage rec {
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
21 inherit pname version;
22 hash = "sha256-Bq9eNIaqzFk4K6NOU+vqvXqTRdePfby+4m8DuqS4O6w=";
26 substituteInPlace setup.py \
27 --replace "face==20.1.1" "face"
30 propagatedBuildInputs = [
42 # test_cli.py checks the output of running "glom"
43 export PATH=$out/bin:$PATH
47 # Test is outdated (was made for PyYAML 3.x)
48 "test_main_yaml_target"
49 ] ++ lib.optionals (pythonAtLeast "3.11") [
50 "test_regular_error_stack"
51 "test_long_target_repr"
54 pythonImportsCheck = [
59 description = "Restructuring data, the Python way";
62 glom helps pull together objects from other objects in a
63 declarative, dynamic, and downright simple way.
65 homepage = "https://github.com/mahmoud/glom";
66 changelog = "https://github.com/mahmoud/glom/blob/v${version}/CHANGELOG.md";
67 license = licenses.bsd3;
68 maintainers = with maintainers; [ twey ];