Files
nixpkgs/pkgs/development/python-modules/pan-python/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

31 lines
974 B
Nix

{
lib,
buildPythonPackage,
fetchurl,
}:
buildPythonPackage rec {
pname = "pan-python";
version = "0.25.0";
format = "wheel";
# fetchPypi doesn't appear to work, possibly because the uploaded archives on PyPI
# are named (notice '_' vs. '-'):
# - pan-python-0.25.0.tar.gz
# - pan_python-0.25.0-py3-none-any.whl
src = fetchurl {
url = "https://files.pythonhosted.org/packages/68/b0/0af75e586869bc5eee67e75472771e820189cbedbdde619353191a2828b7/pan_python-0.25.0-py3-none-any.whl";
hash = "sha256-IWqXsFORXzo8n+J39ZaqAK1vD1uIxy3idtt1+Sq5x+0=";
};
pythonImportsCheck = [ "pan" ];
meta = {
description = "Python package for Palo Alto Networks Next-Generation Firewalls, WildFire and AutoFocus";
homepage = "https://github.com/kevinsteves/pan-python";
changelog = "https://github.com/kevinsteves/pan-python/releases/tag/v${version}";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ jherland ];
};
}