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";

View File

@@ -4,6 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "dibbler"
version = "1.0.0"
authors = []
description = "EDB-system for PVV"
readme = "README.md"
@@ -18,7 +19,6 @@ dependencies = [
"psycopg2 >= 2.8, <2.10",
"python-barcode",
]
dynamic = ["version"]
[tool.setuptools.packages.find]
include = ["dibbler*"]