1{ stdenv, fetchFromGitHub, cmake, xlibsWrapper }:
2
3stdenv.mkDerivation rec {
4 version = "19.4";
5 name = "dlib-${version}";
6
7 src = fetchFromGitHub {
8 owner = "davisking";
9 repo = "dlib";
10 rev ="v${version}";
11 sha256 = "0zqa36i4s5i7n6284sp22qrhm3k37n9vqmpz068nm02vj9h0a2j4";
12 };
13
14 enableParallelBuilding = true;
15 nativeBuildInputs = [ cmake ];
16
17 meta = with stdenv.lib; {
18 description = "A general purpose cross-platform C++ machine learning library";
19 homepage = http://www.dlib.net;
20 license = licenses.boost;
21 maintainers = with maintainers; [ christopherpoole ];
22 platforms = platforms.all;
23 };
24}
25