Files
nixpkgs/pkgs/development/python-modules/nvdlib/default.nix
T
Martin Weinelt 5ec8104bd8 python3Packages.nvdlib: 0.8.0 -> 0.8.1
https://github.com/vehemont/nvdlib/releases/tag/v0.8.1

This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:01 +02:00

45 lines
914 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
requests,
responses,
setuptools,
}:
buildPythonPackage rec {
pname = "nvdlib";
version = "0.8.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Vehemont";
repo = "nvdlib";
tag = "v${version}";
hash = "sha256-8Tg9JN63+zGRUppIXBQ46mKeDq+nLNQvAjtCwcTuC1g=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [
pytestCheckHook
responses
];
pythonImportsCheck = [ "nvdlib" ];
meta = with lib; {
description = "Module to interact with the National Vulnerability CVE/CPE API";
homepage = "https://github.com/Vehemont/nvdlib/";
changelog = "https://github.com/vehemont/nvdlib/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}