diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2018-10-29 18:57:19 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2018-10-29 18:57:19 +0100 |
commit | b7bc6e7f6ca33775643553fe046e804425c8ce5d (patch) | |
tree | 491254da5ca64a2fa6f9c7a4026c3b24480f2801 /pkgs/development/python-modules | |
parent | ac499a345ae698d07bf240ca13bb37b4b4501c4d (diff) | |
download | nixlib-b7bc6e7f6ca33775643553fe046e804425c8ce5d.tar nixlib-b7bc6e7f6ca33775643553fe046e804425c8ce5d.tar.gz nixlib-b7bc6e7f6ca33775643553fe046e804425c8ce5d.tar.bz2 nixlib-b7bc6e7f6ca33775643553fe046e804425c8ce5d.tar.lz nixlib-b7bc6e7f6ca33775643553fe046e804425c8ce5d.tar.xz nixlib-b7bc6e7f6ca33775643553fe046e804425c8ce5d.tar.zst nixlib-b7bc6e7f6ca33775643553fe046e804425c8ce5d.zip |
pythonPackages.dlib: move expression
Initially the expression was quite small (just inherited properties from `pkgs.dlib`), but the more it grows the better it is to store it into its own file.
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/dlib/default.nix | 13 |
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 ]; +} |