summary refs log tree commit diff
path: root/pkgs/development/libraries/openbr/default.nix
blob: 4d4505c3e703e6fdcb35328784c7769a812ffbef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchFromGitHub, cmake, opencv, qtbase, qtsvg }:

stdenv.mkDerivation {

  version = "0.5";
  pname = "openbr";

  src = fetchFromGitHub {
    owner = "biometrics";
    repo = "openbr";
    rev = "cc364a89a86698cd8d3052f42a3cb520c929b325";
    sha256 = "12y00cf5dlzp9ciiwbihf6xhlkdxpydhscv5hwp83qjdllid9rrz";
  };

  buildInputs = [ opencv qtbase qtsvg ];

  nativeBuildInputs = [ cmake ];

  enableParallelBuilding = true;

  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;
    broken = true;
  };
}