python310Packages.qudida: init at 0.0.4

This commit is contained in:
natsukium 2023-06-30 13:09:55 +09:00
parent 0e6af000c4
commit c60195e154
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, opencv4
, pythonOlder
, pythonRelaxDepsHook
, scikit-learn
, typing-extensions
}:
buildPythonPackage rec {
pname = "qudida";
version = "0.0.4";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-2xmOKIerDJqgAj5WWvv/Qd+3azYfhf1eE/eA11uhjMg=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
];
pythonRemoveDeps = [
"opencv-python"
];
propagatedBuildInputs = [
numpy
opencv4
scikit-learn
typing-extensions
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "qudida" ];
meta = with lib; {
description = "QUick and DIrty Domain Adaptation";
homepage = "https://github.com/arsenyinfo/qudida";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
};
}

View File

@ -10478,6 +10478,8 @@ self: super: with self; {
quart-cors = callPackage ../development/python-modules/quart-cors { };
qudida = callPackage ../development/python-modules/qudida { };
querystring_parser = callPackage ../development/python-modules/querystring-parser { };
questionary = callPackage ../development/python-modules/questionary { };