python313Packages.mwdblib: 4.5.0 -> 4.6.0

Diff: CERT-Polska/mwdblib@v4.5.0...v4.6.0

Changelog: https://github.com/CERT-Polska/mwdblib/releases/tag/v4.6.0

Changed files
+12 -14
pkgs
development
python-modules
mwdblib
+12 -14
pkgs/development/python-modules/mwdblib/default.nix
···
lib,
beautifultable,
buildPythonPackage,
-
click,
click-default-group,
+
click,
fetchFromGitHub,
humanize,
keyring,
+
requests,
+
setuptools,
unittestCheckHook,
-
python-dateutil,
-
pythonOlder,
-
requests,
}:
buildPythonPackage rec {
pname = "mwdblib";
-
version = "4.5.0";
-
format = "setuptools";
-
-
disabled = pythonOlder "3.7";
+
version = "4.6.0";
+
pyproject = true;
src = fetchFromGitHub {
owner = "CERT-Polska";
repo = "mwdblib";
tag = "v${version}";
-
hash = "sha256-+hh7SJFITpLumIuzNgBbXtFh+26tUG66UFv6DLDk5ag=";
+
hash = "sha256-1oz//6rQiuV/WAv+6qs12ULPhB5nmf7ntcHSAKnRT8E=";
};
-
propagatedBuildInputs = [
+
build-system = [ setuptools ];
+
+
dependencies = [
beautifultable
click
click-default-group
humanize
keyring
-
python-dateutil
requests
];
···
meta = with lib; {
description = "Python client library for the mwdb service";
-
mainProgram = "mwdb";
homepage = "https://github.com/CERT-Polska/mwdblib";
-
changelog = "https://github.com/CERT-Polska/mwdblib/releases/tag/v${version}";
-
license = with licenses; [ bsd3 ];
+
changelog = "https://github.com/CERT-Polska/mwdblib/releases/tag/${src.tag}";
+
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
+
mainProgram = "mwdb";
};
}