about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dlib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/dlib/default.nix')
-rw-r--r--pkgs/development/python-modules/dlib/default.nix30
1 files changed, 22 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/dlib/default.nix b/pkgs/development/python-modules/dlib/default.nix
index 224c8ccd4e15c..f66fe4bf484f2 100644
--- a/pkgs/development/python-modules/dlib/default.nix
+++ b/pkgs/development/python-modules/dlib/default.nix
@@ -1,18 +1,32 @@
-{ stdenv, buildPythonPackage, dlib, python, pytest, more-itertools
-, sse4Support ? stdenv.hostPlatform.sse4_1Support
-, avxSupport ? stdenv.hostPlatform.avxSupport
+{
+  stdenv,
+  buildPythonPackage,
+  dlib,
+  python,
+  pytest,
+  more-itertools,
+  sse4Support ? stdenv.hostPlatform.sse4_1Support,
+  avxSupport ? stdenv.hostPlatform.avxSupport,
 }:
 
 buildPythonPackage {
-  inherit (dlib) pname version src nativeBuildInputs buildInputs meta;
+  inherit (dlib)
+    pname
+    version
+    src
+    nativeBuildInputs
+    buildInputs
+    meta
+    ;
 
   format = "setuptools";
 
-  patches = [
-    ./build-cores.patch
-  ];
+  patches = [ ./build-cores.patch ];
 
-  nativeCheckInputs = [ pytest more-itertools ];
+  nativeCheckInputs = [
+    pytest
+    more-itertools
+  ];
 
   postPatch = ''
     substituteInPlace setup.py \