Development tools for the Conan C/C++ Package Manager
A devenv powered project.
To get started, clone this repository and allow devenv to set up the environment:
git clone ssh://git@codeberg.org/tarcisio/conan-dev.git
cd conan-dev
devenv --from path:apps/conan allowIn the apps/conan/devenv.yaml file, the default profile is set as:
profile: testAllIt's also possible to specify the profile directly:
devenv --from path:apps/conan --profile testIntelCc allowAfter the above commands finish executing, run the following:
init-conan-submoduleThe init-conan-submodule script initializes a git submodule with a fork of the Conan source code repository:
[submodule "conan"]
path = apps/conan/conan
url = https://github.com/tarc/conan.git
branch = nix-testsand checkout a specific branch with minor changes on the test suite:
init-conan-submodule.exec = ''
set -euo pipefail
set -x
git submodule update --init --remote
cd "${config.git.root}/apps/conan/conan"
git checkout nix-tests
git remote add upstream git@github.com:conan-io/conan.git 2>/dev/null
'';update-conan-submoduleYour branch is up to date with 'origin/nix-tests'.
Current branch nix-tests is up to date.
functional-cmake-toolchain-tests============================= test session starts ==============================
platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/tarci/projects/conan-dev/apps/conan/conan
configfile: pytest.ini
plugins: cov-7.1.0, xdist-3.8.0
collected 38 items
test/functional/toolchains/cmake/test_cmake_toolchain.py sss...s.....sss [ 39%]
sss...........sssss.s.. [100%]
======================= 22 passed, 16 skipped in 14.75s ========================
single-test test/functional/test_profile_detect_api.py -s============================= test session starts ==============================
platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/tarci/projects/conan-dev/apps/conan/conan
configfile: pytest.ini
plugins: cov-7.1.0, xdist-3.8.0
collected 9 items
test/functional/test_profile_detect_api.py s.s......
========================= 7 passed, 2 skipped in 0.18s =========================
The reference for packaging Python applications is in the Nixpkgs Reference Manual, in the Languages and frameworks chapter: