mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 23:45:05 +02:00
Store version in project metadata
This commit is contained in:
parent
21a266e302
commit
f600d682e7
11 changed files with 45 additions and 22 deletions
|
|
@ -17,9 +17,7 @@
|
|||
rec {
|
||||
default = pkgs.python3Packages.buildPythonApplication rec {
|
||||
pname = "pferd";
|
||||
# Performing black magic
|
||||
# Don't worry, I sacrificed enough goats for the next few years
|
||||
version = (pkgs.lib.importTOML ./PFERD/version.py).VERSION;
|
||||
version = (pkgs.lib.importTOML ./pyproject.toml).package.version;
|
||||
format = "pyproject";
|
||||
|
||||
src = ./.;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue