summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/qudida/default.nix
blob: fbb3edc7cdaac1150401a4ca2d8a8ee30ba569d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchPypi,
  numpy,
  opencv-python,
  scikit-learn,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "qudida";
  version = "0.0.4";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-2xmOKIerDJqgAj5WWvv/Qd+3azYfhf1eE/eA11uhjMg=";
  };

  propagatedBuildInputs = [
    numpy
    opencv-python
    scikit-learn
    typing-extensions
  ];

  # upstream has no tests
  doCheck = false;

  pythonImportsCheck = [ "qudida" ];

  meta = {
    description = "QUick and DIrty Domain Adaptation";
    homepage = "https://github.com/arsenyinfo/qudida";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ natsukium ];
  };
}