python3Packages.mwdblib: 3.4.1 -> 4.0.0

This commit is contained in:
Fabian Affolter 2022-01-17 21:34:51 +01:00
parent 6c18c013f4
commit fc77f3d739

View File

@ -8,18 +8,22 @@
, keyring
, python
, python-dateutil
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "mwdblib";
version = "3.4.1";
version = "4.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "CERT-Polska";
repo = pname;
rev = "v${version}";
sha256 = "sha256-jCtK3Fk725EaA26GG6j6xqEMFH4Qq92QWrJ7sxcWRaY=";
sha256 = "sha256-HwJLXcYWmrEJxX2asicmM8p55ZHNS+ut3pVvOxQoNoI=";
};
propagatedBuildInputs = [
@ -38,7 +42,9 @@ buildPythonPackage rec {
runHook postCheck
'';
pythonImportsCheck = [ "mwdblib" ];
pythonImportsCheck = [
"mwdblib"
];
meta = with lib; {
description = "Python client library for the mwdb service";