Unverified Commit c60195e1 authored by natsukium's avatar natsukium
Browse files

python310Packages.qudida: init at 0.0.4

parent 0e6af000
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };