Jörg Thalheim
9aaac528f8
alejandra has someone questionable choices for formatting that no one would apply to there code if they would format manually. nixpkgs-fmt seems to produce more readable results.
13 lines
312 B
Nix
13 lines
312 B
Nix
{
|
|
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;
|
|
};
|
|
}
|