added more balatro packages

This commit is contained in:
2025-04-24 19:05:58 +02:00
parent 58ae7c9dd1
commit b4997dcd7a
8 changed files with 129 additions and 9 deletions

21
balatromobile/package.nix Normal file
View File

@ -0,0 +1,21 @@
{
fetchgit,
python3Packages,
jre,
...
}: let
src = fetchgit {
url = "https://github.com/antipatico/balatromobile";
sha256 = "P6MVmDiI6NLHqBYdkbtqExHKjkjLeD5bE/kTEyPxVTw=";
fetchLFS = true;
};
pname = (builtins.fromTOML (builtins.readFile "${src}/pyproject.toml")).project.name;
version = builtins.elemAt (builtins.match ".*([0-9]+\.[0-9]+\.[0-9]+).*" (builtins.readFile "${src}/balatromobile/__version__.py")) 0;
in
python3Packages.buildPythonPackage {
inherit pname version src;
pyproject = true;
build-system = [python3Packages.flit];
dependencies = [python3Packages.tabulate jre];
}