2015-12-28 22:14:28 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, opencv, qtbase, qtsvg }:
|
2015-01-15 15:57:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
version = "0.5";
|
|
|
|
name = "openbr-${version}";
|
|
|
|
|
2015-12-28 22:14:28 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "biometrics";
|
|
|
|
repo = "openbr";
|
2015-01-15 15:57:04 +00:00
|
|
|
rev = "cc364a89a86698cd8d3052f42a3cb520c929b325";
|
2015-12-28 22:14:28 +00:00
|
|
|
sha256 = "12y00cf5dlzp9ciiwbihf6xhlkdxpydhscv5hwp83qjdllid9rrz";
|
2015-01-15 15:57:04 +00:00
|
|
|
};
|
|
|
|
|
2015-09-27 16:24:16 +01:00
|
|
|
buildInputs = [ opencv qtbase qtsvg ];
|
2015-01-15 15:57:04 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Open Source Biometric Recognition";
|
|
|
|
homepage = http://openbiometrics.org/;
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [flosse];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2016-05-08 21:48:27 +01:00
|
|
|
broken = true;
|
2015-01-15 15:57:04 +00:00
|
|
|
};
|
|
|
|
}
|