Merge pull request #49070 from r-ryantm/auto-update/python3.6-dlib
python36Packages.dlib: 19.13 -> 19.16
This commit is contained in:
commit
e6c0b6ff6f
@ -3,14 +3,14 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "19.13";
|
||||
version = "19.16";
|
||||
name = "dlib-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "davisking";
|
||||
repo = "dlib";
|
||||
rev ="v${version}";
|
||||
sha256 = "11ia4pd2lm2s9hzwrdvimj3r2qcnvjdp3g4fry2j1a6z9f99zvz3";
|
||||
sha256 = "0ix52npsxfm6324jli7y0zkyijl5yirv2yzfncyd4sq0r9fcwb4p";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
13
pkgs/development/python-modules/dlib/default.nix
Normal file
13
pkgs/development/python-modules/dlib/default.nix
Normal file
@ -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 ];
|
||||
}
|
@ -973,12 +973,8 @@ in {
|
||||
|
||||
cypari2 = callPackage ../development/python-modules/cypari2 { };
|
||||
|
||||
dlib = buildPythonPackage rec {
|
||||
inherit (pkgs.dlib) name src nativeBuildInputs meta buildInputs;
|
||||
|
||||
patches = [ ../development/python-modules/dlib/build-cores.patch ];
|
||||
|
||||
checkInputs = with self; [ pytest ];
|
||||
dlib = callPackage ../development/python-modules/dlib {
|
||||
inherit (pkgs) dlib;
|
||||
};
|
||||
|
||||
datadog = callPackage ../development/python-modules/datadog {};
|
||||
|
Loading…
Reference in New Issue
Block a user