Something went wrong. Try again.
lol
Something went wrong. Try again.
907 B · 49 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchPypi,
# build time pdm-backend,
# runtime packaging, platformdirs,
# tests pytestCheckHook,}:
let pname = "findpython"; version = "0.7.1";inbuildPythonPackage { inherit pname version; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-nynmo9q9t18rOclJdywO0m6rFTCABmafNHjNqw2GfHg="; };
build-system = [ pdm-backend ];
dependencies = [ packaging platformdirs ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "findpython" ];
meta = { description = "Utility to find python versions on your system"; mainProgram = "findpython"; homepage = "https://github.com/frostming/findpython"; changelog = "https://github.com/frostming/findpython/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; };}