···4let
5 dns = import ./dns.nix { inherit system pkgs; };
6 rbac = import ./rbac.nix { inherit system pkgs; };
7- # TODO kubernetes.e2e should eventually replace kubernetes.rbac when it works
8- # e2e = import ./e2e.nix { inherit system pkgs; };
9in
10{
11 dns-single-node = dns.singlenode.test;
···4let
5 dns = import ./dns.nix { inherit system pkgs; };
6 rbac = import ./rbac.nix { inherit system pkgs; };
007in
8{
9 dns-single-node = dns.singlenode.test;
···1-{ buildPythonPackage, fetchFromGitHub, pillow, click, dlib, numpy
2-, face_recognition_models, lib, flake8, pytest, glibcLocales
3-}:
4-5-buildPythonPackage rec {
6- pname = "face_recognition";
7- version = "1.3.0";
8-9- src = fetchFromGitHub {
10- repo = pname;
11- owner = "ageitgey";
12- rev = "d34c622bf42e2c619505a4884017051ecf61ac77";
13- sha256 = "052878vnh3vbrsvmpgr0bx78k524dlxn47b2xakzbxk7dyjrgcli";
14- };
15-16- postPatch = ''
17- substituteInPlace setup.py --replace "flake8==2.6.0" "flake8"
18- '';
19-20- propagatedBuildInputs = [ pillow click dlib numpy face_recognition_models ];
21-22- # Our dlib is compiled with AVX instructions by default which breaks
23- # with "Illegal instruction" on some builders due to missing hardware features.
24- #
25- # As this makes the build fairly unreliable, it's better to skip the test and to ensure that
26- # the build is working and after each change to the package, manual testing should be done.
27- doCheck = false;
28-29- # Although tests are disabled by default, checkPhase still exists, so
30- # maintainers can check the package's functionality locally before modifying it.
31- checkInputs = [ flake8 pytest glibcLocales ];
32- checkPhase = ''
33- LC_ALL="en_US.UTF-8" py.test
34- '';
35-36- meta = with lib; {
37- license = licenses.mit;
38- homepage = "https://github.com/ageitgey/face_recognition";
39- maintainers = with maintainers; [ ];
40- description = "The world's simplest facial recognition api for Python and the command line";
41- };
42-}
···37# If some requirements are matched by multiple or no Python packages, the
38# following can be used to choose the correct one
39PKG_PREFERENCES = {
040 "ha-av": "av",
0041 "youtube_dl": "youtube-dl-light",
42- "tensorflow": "tensorflow",
43- "fiblary3": "fiblary3-fork", # https://github.com/home-assistant/core/issues/66466
44}
4546
···37# If some requirements are matched by multiple or no Python packages, the
38# following can be used to choose the correct one
39PKG_PREFERENCES = {
40+ "fiblary3": "fiblary3-fork", # https://github.com/home-assistant/core/issues/66466
41 "ha-av": "av",
42+ "ha-HAP-python": "hap-python",
43+ "tensorflow": "tensorflow",
44 "youtube_dl": "youtube-dl-light",
0045}
4647
···72 dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20
73 eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03
74 email_validator = email-validator; # added 2022-06-22
0075 fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
76 faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
77 flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20
···126 prometheus_client = prometheus-client; # added 2021-06-10
127 prompt_toolkit = prompt-toolkit; # added 2021-07-22
128 pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
0129 pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
130 pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
131 pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
···72 dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20
73 eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03
74 email_validator = email-validator; # added 2022-06-22
75+ face_recognition = face-recognition; # added 2022-10-15
76+ face_recognition_models = face-recognition-models; # added 2022-10-15
77 fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
78 faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
79 flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20
···128 prometheus_client = prometheus-client; # added 2021-06-10
129 prompt_toolkit = prompt-toolkit; # added 2021-07-22
130 pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
131+ pushbullet = pushbullet-py; # Added 2022-10-15
132 pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
133 pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
134 pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18