clan-cli: initialize python project from template

clan-cli: remove unnecessary unit test file

clan-cli: fix shell.nix too stateful

clan-cli: remove conftest.py

clan-cli: fix flake-module.nix
This commit is contained in:
DavHau
2023-07-20 18:07:27 +02:00
committed by Jörg Thalheim
parent fb394f29ae
commit 9906d12384
6 changed files with 197 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
{
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;
};
}