Add dlib overrides

This commit is contained in:
adisbladis 2020-01-17 11:00:36 +00:00
parent 36170bfc28
commit 380a8aa482
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -60,6 +60,19 @@ self: super:
}
);
dlib = super.dlib.overrideAttrs (
old: {
# Parallel building enabled
inherit (pkgs.python.pkgs.dlib) patches;
enableParallelBuilding = true;
dontUseCmakeConfigure = true;
nativeBuildInputs = old.nativeBuildInputs ++ pkgs.dlib.nativeBuildInputs;
buildInputs = old.buildInputs ++ pkgs.dlib.buildInputs;
}
);
# Environment markers are not always included (depending on how a dep was defined)
enum34 = if self.pythonAtLeast "3.4" then null else super.enum34;