├── .github └── workflows │ ├── release.yml │ ├── test-nix-build.yml │ ├── test-on-nixpkgs.yml │ └── test-on-ubuntu.yml ├── .gitignore ├── COPYING ├── COPYING.LESSER ├── LICENSE ├── README.md ├── comparor.py ├── default.nix ├── nix_manipulator ├── __init__.py ├── __main__.py ├── cli.py ├── exceptions.py ├── expressions │ ├── __init__.py │ ├── assertion.py │ ├── binary.py │ ├── binding.py │ ├── comment.py │ ├── ellipses.py │ ├── expression.py │ ├── function │ │ ├── __init__.py │ │ ├── call.py │ │ └── definition.py │ ├── identifier.py │ ├── indented_string.py │ ├── inherit.py │ ├── layout.py │ ├── let.py │ ├── list.py │ ├── operator.py │ ├── parenthesis.py │ ├── path.py │ ├── primitive.py │ ├── select.py │ ├── set.py │ ├── source_code.py │ ├── unary.py │ └── with_statement.py ├── format.py ├── manipulations.py ├── mapping.py ├── parser.py └── utils.py ├── pyproject.toml ├── serializor.py ├── shell.nix └── tests ├── __init__.py ├── expressions ├── __init__.py └── trl.py ├── nix-files ├── expression.nix └── pkgs │ ├── simplistic-01.nix │ └── trl-default.nix ├── test_cli.py ├── test_configure_system.py ├── test_expressions_to_nix.py ├── test_local_nix_files.py ├── test_reproduce_nixpkgs.py ├── test_reproduce_simple.py └── test_updates.py /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test-nix-build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/.github/workflows/test-nix-build.yml -------------------------------------------------------------------------------- /.github/workflows/test-on-nixpkgs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/.github/workflows/test-on-nixpkgs.yml -------------------------------------------------------------------------------- /.github/workflows/test-on-ubuntu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/.github/workflows/test-on-ubuntu.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /result 3 | /.coverage 4 | __pycache__ 5 | *.pyc 6 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/COPYING -------------------------------------------------------------------------------- /COPYING.LESSER: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/COPYING.LESSER -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/README.md -------------------------------------------------------------------------------- /comparor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/comparor.py -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/default.nix -------------------------------------------------------------------------------- /nix_manipulator/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/__init__.py -------------------------------------------------------------------------------- /nix_manipulator/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/__main__.py -------------------------------------------------------------------------------- /nix_manipulator/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/cli.py -------------------------------------------------------------------------------- /nix_manipulator/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/exceptions.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/__init__.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/assertion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/assertion.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/binary.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/binding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/binding.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/comment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/comment.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/ellipses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/ellipses.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/expression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/expression.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/function/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nix_manipulator/expressions/function/call.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/function/call.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/function/definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/function/definition.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/identifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/identifier.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/indented_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/indented_string.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/inherit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/inherit.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/layout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/layout.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/let.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/let.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/list.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/operator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/operator.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/parenthesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/parenthesis.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/path.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/primitive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/primitive.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/select.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/select.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/set.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/source_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/source_code.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/unary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/unary.py -------------------------------------------------------------------------------- /nix_manipulator/expressions/with_statement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/expressions/with_statement.py -------------------------------------------------------------------------------- /nix_manipulator/format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/format.py -------------------------------------------------------------------------------- /nix_manipulator/manipulations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/manipulations.py -------------------------------------------------------------------------------- /nix_manipulator/mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/mapping.py -------------------------------------------------------------------------------- /nix_manipulator/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/parser.py -------------------------------------------------------------------------------- /nix_manipulator/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/nix_manipulator/utils.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/pyproject.toml -------------------------------------------------------------------------------- /serializor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/serializor.py -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/shell.nix -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/expressions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/expressions/trl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/expressions/trl.py -------------------------------------------------------------------------------- /tests/nix-files/expression.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/nix-files/expression.nix -------------------------------------------------------------------------------- /tests/nix-files/pkgs/simplistic-01.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/nix-files/pkgs/simplistic-01.nix -------------------------------------------------------------------------------- /tests/nix-files/pkgs/trl-default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/nix-files/pkgs/trl-default.nix -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_configure_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/test_configure_system.py -------------------------------------------------------------------------------- /tests/test_expressions_to_nix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/test_expressions_to_nix.py -------------------------------------------------------------------------------- /tests/test_local_nix_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/test_local_nix_files.py -------------------------------------------------------------------------------- /tests/test_reproduce_nixpkgs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/test_reproduce_nixpkgs.py -------------------------------------------------------------------------------- /tests/test_reproduce_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/test_reproduce_simple.py -------------------------------------------------------------------------------- /tests/test_updates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoh/nix-manipulator/HEAD/tests/test_updates.py --------------------------------------------------------------------------------