Merge pull request 'templates: add python-project' (#10) from python-template into main

This commit is contained in:
DavHau
2023-07-20 17:32:28 +02:00
committed by Gitea
parent cadfb90bd3
commit eaaf0d2992
12 changed files with 248 additions and 0 deletions

View File

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