mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-08 14:23:40 +00:00
37 lines
759 B
Nix
37 lines
759 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "falconpy";
|
|
version = "1.6.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CrowdStrike";
|
|
repo = "falconpy";
|
|
tag = "v${version}";
|
|
hash = "sha256-Pih9gd20pAN7bDsvwOtpUdh12GRmTD043whQcubZthQ=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
requests
|
|
];
|
|
|
|
pythonImportsCheck = [ "falconpy" ];
|
|
|
|
meta = {
|
|
description = "CrowdStrike Falcon SDK for Python";
|
|
homepage = "https://github.com/CrowdStrike/falconpy";
|
|
changelog = "https://github.com/CrowdStrike/falconpy/releases/tag/${src.tag}";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = with lib.maintainers; [ levigross ];
|
|
};
|
|
}
|