clan-core/pkgs/clan-cli/flake-module.nix

11 lines
287 B
Nix
Raw Normal View History

{
perSystem = {pkgs, ...}: let
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
name = pyproject.project.name;
package = pkgs.callPackage ./default.nix {};
in {
# packages.${name} = package;
checks.python-template = package.tests.check;
};
}