Something went wrong. Try again.
lol
Something went wrong. Try again.
1.5 kB · 73 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, attrs, boltons, buildPythonPackage, face, fetchPypi, pytestCheckHook, pythonAtLeast, pyyaml, setuptools,}:
buildPythonPackage rec { pname = "glom"; version = "25.12.0"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-GufaiL42k99ArSe99Xp2WlXAdchslxvN3WeSdAPrAGk="; };
build-system = [ setuptools ];
dependencies = [ boltons attrs face ];
optional-dependencies = { yaml = [ pyyaml ]; };
nativeCheckInputs = [ pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies;
preCheck = '' # test_cli.py checks the output of running "glom" export PATH=$out/bin:$PATH '';
disabledTests = lib.optionals (pythonAtLeast "3.11") [ "test_regular_error_stack" "test_long_target_repr" "test_glom_error_stack" "test_glom_error_double_stack" "test_branching_stack" "test_midway_branch" "test_partially_failing_branch" "test_coalesce_stack" "test_nesting_stack" "test_3_11_byte_code_caret" ];
pythonImportsCheck = [ "glom" ];
meta = { description = "Module for restructuring data"; longDescription = '' glom helps pull together objects from other objects in a declarative, dynamic, and downright simple way. ''; homepage = "https://github.com/mahmoud/glom"; changelog = "https://github.com/mahmoud/glom/blob/v${version}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ twey ]; mainProgram = "glom"; };}