scan-build
mach-nix-template
scan-build | mach-nix-template | |
---|---|---|
2 | 7 | |
355 | 70 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | almost 2 years ago | |
Python | Nix | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scan-build
-
Development shell with pros-cli available
I believe its because pros-cli's requirements.txt contains the entry scan-build==2.0.13. The specified version of scan-build requires the python typing package, which is said to conflict with newer python versions. (I don't know python)
-
CLion users: Is CLion a good choice for development in an old project that can only be built with a complicated mess of makefiles?
I've had some success with a custom shell script/makefile project, using compilation database and intercept-build:
mach-nix-template
-
Struggling with Python dependencies conflicts and NixOS
Hi! Yes, there is a solution to your problem! I used my popular project mach-nix-template to generate a python-environment.
-
Python Flake and Direnv
This happened, because you only copied the text from the flake.nix file you found here. You did not copy over the flake.lock file, which stores information about what version of nixpkgs and other dependencies your software uses. This led to an incompatibility. I am sorry, I forgot to mention that the flake.lock file needs to be present as well. I updated the readme accordingly.
-
Can't use pip to install packages
Hey, I had the same issues as you. Therefore I created the following nix flake: https://github.com/Quoteme/mach-nix-template
-
Development shell with pros-cli available
I started with this template.
- I created a super simple flake.nix template so you can finally use python painlessly in your nix projects. Just copy a few lines over into your flake.nix and you can use all of PyPi :)
What are some alternatives?
Bear - Bear is a tool that generates a compilation database for clang tooling.
templates - Flake templates
pmbuild - A simple, configurable and extendible build system for gamedev.
pypi-deps-db - Dependency DB for python packages on pypi
compiledb - Tool for generating Clang's JSON Compilation Database files for make-based build systems.
nialov-py-template - My opionated copier template for Python development.
pros-cli - Command Line Interface for managing PROS projects. Works with V5 and the Cortex
mach-nix - Create highly reproducible python environments
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
hermes - A python based light-weight build system for C/C++.
poetry2nix-example - Playing around with poetry2nix to learn more about Nix for Python development