Merge pull request #243496 from dotlambda/piston-cli-python310

piston-cli: use Python 3.10
This commit is contained in:
Sandro 2023-07-15 02:51:04 +02:00 committed by GitHub
commit 0734b7d3df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View file

@ -18,13 +18,14 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = with python3Packages; [
poetry-core
pythonRelaxDepsHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'rich = "^10.1.0"' 'rich = "*"' \
--replace 'PyYAML = "^5.4.1"' 'PyYAML = "*"'
'';
pythonRelaxDeps = [
"rich"
"more-itertools"
"PyYAML"
];
meta = with lib; {
broken = stdenv.isDarwin;

View file

@ -34177,7 +34177,7 @@ with pkgs;
pistol = callPackage ../tools/misc/pistol { };
piston-cli = callPackage ../tools/misc/piston-cli { python3Packages = python39Packages; };
piston-cli = callPackage ../tools/misc/piston-cli { };
pizarra = callPackage ../applications/graphics/pizarra { };