summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-29 19:27:07 +0100
committerGitHub <noreply@github.com>2018-10-29 19:27:07 +0100
commite6c0b6ff6fa70d480c37cfc118ee7a52dfaa699d (patch)
tree7ccce51cdd542989984e8fd69586b0ab11d5bbdd /pkgs/development/python-modules
parent0d15004cbae4dfcc453d26262c68f5cb86d457fa (diff)
parentb7bc6e7f6ca33775643553fe046e804425c8ce5d (diff)
downloadnixlib-e6c0b6ff6fa70d480c37cfc118ee7a52dfaa699d.tar
nixlib-e6c0b6ff6fa70d480c37cfc118ee7a52dfaa699d.tar.gz
nixlib-e6c0b6ff6fa70d480c37cfc118ee7a52dfaa699d.tar.bz2
nixlib-e6c0b6ff6fa70d480c37cfc118ee7a52dfaa699d.tar.lz
nixlib-e6c0b6ff6fa70d480c37cfc118ee7a52dfaa699d.tar.xz
nixlib-e6c0b6ff6fa70d480c37cfc118ee7a52dfaa699d.tar.zst
nixlib-e6c0b6ff6fa70d480c37cfc118ee7a52dfaa699d.zip
Merge pull request #49070 from r-ryantm/auto-update/python3.6-dlib
python36Packages.dlib: 19.13 -> 19.16
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/dlib/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dlib/default.nix b/pkgs/development/python-modules/dlib/default.nix
new file mode 100644
index 000000000000..90e2c526789f
--- /dev/null
+++ b/pkgs/development/python-modules/dlib/default.nix
@@ -0,0 +1,13 @@
+{ buildPythonPackage, dlib, python, pytest }:
+
+buildPythonPackage {
+  inherit (dlib) name src nativeBuildInputs buildInputs meta;
+
+  checkPhase = ''
+    ${python.interpreter} nix_run_setup test --no USE_AVX_INSTRUCTIONS
+  '';
+
+  patches = [ ./build-cores.patch ];
+
+  checkInputs = [ pytest ];
+}