f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
45 lines
804 B
Nix
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 ];
|
|
};
|
|
}
|