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