pyproject.toml: set package version, fix nix package

This commit is contained in:
2026-01-06 14:09:38 +09:00
parent 634716956e
commit f4b5e1d6d4
2 changed files with 6 additions and 3 deletions

View File

@@ -2,9 +2,12 @@
, python3Packages
, fetchFromGitHub
}:
let
pyproject = builtins.fromTOML (builtins.readFile ../pyproject.toml);
in
python3Packages.buildPythonApplication {
pname = "dibbler";
version = "unstable";
pname = pyproject.project.name;
version = pyproject.project.version;
src = lib.cleanSource ../.;
format = "pyproject";