11 lines
287 B
Nix
11 lines
287 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;
|
||
|
};
|
||
|
}
|