1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 numpy,
6 opencv-python,
7 pythonOlder,
8 scikit-learn,
9 typing-extensions,
10}:
11
12buildPythonPackage rec {
13 pname = "qudida";
14 version = "0.0.4";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.5";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-2xmOKIerDJqgAj5WWvv/Qd+3azYfhf1eE/eA11uhjMg=";
22 };
23
24 propagatedBuildInputs = [
25 numpy
26 opencv-python
27 scikit-learn
28 typing-extensions
29 ];
30
31 # upstream has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "qudida" ];
35
36 meta = with lib; {
37 description = "QUick and DIrty Domain Adaptation";
38 homepage = "https://github.com/arsenyinfo/qudida";
39 license = licenses.mit;
40 maintainers = with maintainers; [ natsukium ];
41 };
42}