Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pbs-installer / default.nix
blobab892b5260e779673b1ea720828d482b206ce738
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , pdm-backend
6 , httpx
7 , zstandard
8 }:
10 buildPythonPackage rec {
11   pname = "pbs-installer";
12   version = "2024.4.1";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "frostming";
19     repo = "pbs-installer";
20     rev = version;
21     hash = "sha256-0LuajPD/sM0LoyRoCkGJ9medUcWNEPqvY76GgK2rIac=";
22   };
24   build-system = [
25     pdm-backend
26   ];
28   optional-dependencies = {
29     all = optional-dependencies.install ++ optional-dependencies.download;
30     download = [
31       httpx
32     ];
33     install = [
34       zstandard
35     ];
36   };
38   pythonImportsCheck = [ "pbs_installer" ];
40   # upstream has no test
41   doCheck = false;
43   meta = with lib; {
44     description = "Installer for Python Build Standalone";
45     homepage = "https://github.com/frostming/pbs-installer";
46     changelog = "https://github.com/frostming/pbs-installer/releases/tag/${version}";
47     license = licenses.mit;
48     maintainers = with maintainers; [ ];
49   };