Files
nixpkgs/pkgs/development/python-modules/pbs-installer/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

46 lines
996 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pdm-backend,
httpx,
zstandard,
}:
buildPythonPackage rec {
pname = "pbs-installer";
version = "2024.4.24";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "frostming";
repo = "pbs-installer";
rev = "refs/tags/${version}";
hash = "sha256-a35xQEdo7OOFlXk2vsTdVpEhqPRKFZRQzNnZw3c7ybA=";
};
build-system = [ pdm-backend ];
optional-dependencies = {
all = optional-dependencies.install ++ optional-dependencies.download;
download = [ httpx ];
install = [ zstandard ];
};
pythonImportsCheck = [ "pbs_installer" ];
# upstream has no test
doCheck = false;
meta = with lib; {
description = "Installer for Python Build Standalone";
homepage = "https://github.com/frostming/pbs-installer";
changelog = "https://github.com/frostming/pbs-installer/releases/tag/${version}";
license = licenses.mit;
maintainers = [ ];
};
}