Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 50 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, beautifultable, buildPythonPackage, click-default-group, click, fetchFromGitHub, humanize, keyring, requests, setuptools, unittestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "mwdblib"; version = "4.7.0"; pyproject = true;
src = fetchFromGitHub { owner = "CERT-Polska"; repo = "mwdblib"; tag = "v${finalAttrs.version}"; hash = "sha256-eP8q5G97vfe7eN3+/+UF7Qda5/xzwC/GRrTorucjEGo="; };
build-system = [ setuptools ];
dependencies = [ beautifultable click click-default-group humanize keyring requests ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "mwdblib" ];
meta = { description = "Python client library for the mwdb service"; homepage = "https://github.com/CERT-Polska/mwdblib"; changelog = "https://github.com/CERT-Polska/mwdblib/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; mainProgram = "mwdb"; };})