diff --git a/flake.nix b/flake.nix index 063d3e8..b5d791c 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,7 @@ system = "x86_64-linux"; config.allowUnfree = true; }; + project = builtins.fromTOML (builtins.readFile ./pyproject.toml); in { packages.x86_64-linux = with pkgs.python3Packages; rec { dlsite-async = buildPythonPackage rec { @@ -30,7 +31,7 @@ dlibrary = buildPythonApplication { pname = "dlibrary"; - version = "0.2"; + inherit (project) version; pyproject = true; propagatedBuildInputs = [ pymupdf diff --git a/pyproject.toml b/pyproject.toml index ecd28b5..79f74fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "dlibrary" -version = "0.2" +version = "0.3" description = "Cataloging tool and viewer for downloaded DLSite purchases" license = {file = "LICENSE"} authors = [{name = "xenofem"}]