depot/third_party/nixpkgs/pkgs/development/python-modules/qudida/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

45 lines
804 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
opencv4,
pythonOlder,
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=";
};
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 ];
};
}