Something went wrong. Try again.
lol
Something went wrong. Try again.
864 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, requests, responses, setuptools,}:
buildPythonPackage rec { pname = "nvdlib"; version = "0.8.3"; pyproject = true;
src = fetchFromGitHub { owner = "Vehemont"; repo = "nvdlib"; tag = "v${version}"; hash = "sha256-FjeYJMMccao9KJMcJBKtt5QhpQEEbcPyNunj+VqMdx0="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [ pytestCheckHook responses ];
pythonImportsCheck = [ "nvdlib" ];
meta = { 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 = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}