1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 pdm-backend, 7 httpx, 8 zstandard, 9}: 10 11buildPythonPackage rec { 12 pname = "pbs-installer"; 13 version = "2025.09.18"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "frostming"; 20 repo = "pbs-installer"; 21 tag = version; 22 hash = "sha256-bkqQa7wqNBkeDVTG4HIj8im4wljrPTG3IS2c20m+rzg="; 23 }; 24 25 build-system = [ pdm-backend ]; 26 27 optional-dependencies = { 28 all = optional-dependencies.install ++ optional-dependencies.download; 29 download = [ httpx ]; 30 install = [ zstandard ]; 31 }; 32 33 pythonImportsCheck = [ "pbs_installer" ]; 34 35 # upstream has no test 36 doCheck = false; 37 38 meta = with lib; { 39 description = "Installer for Python Build Standalone"; 40 homepage = "https://github.com/frostming/pbs-installer"; 41 changelog = "https://github.com/frostming/pbs-installer/releases/tag/${src.tag}"; 42 license = licenses.mit; 43 maintainers = [ ]; 44 }; 45}