Proof of concept for code-as-code
Check the latest tag of the definition repository: https://github.com/pythoneda-sandbox-def/poccac, and use it instead of the [version]
placeholder below.
{
description = "[..]";
inputs = rec {
[..]
pythoneda-sandbox-poccac = {
[optional follows]
url =
"github:pythoneda-sandbox-def/poccac/[version]";
};
};
outputs = [..]
};
Should you use another PythonEDA modules, you might want to pin those also used by this project. The same applies to https://nixos/nixpkgs and https://github.com/numtide/flake-utils.
The Nix flake is managed by the https://github.com/pythoneda-sandbox-def/poccac definition repository.
Use the specific package depending on your system (one of flake-utils.lib.defaultSystems
) and Python version:
#packages.[system].pythoneda-sandbox-poccac-python38
#packages.[system].pythoneda-sandbox-poccac-python39
#packages.[system].pythoneda-sandbox-poccac-python310
#packages.[system].pythoneda-sandbox-poccac-python311