mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
33 lines
769 B
Nix
33 lines
769 B
Nix
{ stdenv, fetchFromGitHub, cmake, opencv, qtbase, qtsvg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.5";
|
|
name = "openbr-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "biometrics";
|
|
repo = "openbr";
|
|
rev = "cc364a89a86698cd8d3052f42a3cb520c929b325";
|
|
sha256 = "12y00cf5dlzp9ciiwbihf6xhlkdxpydhscv5hwp83qjdllid9rrz";
|
|
};
|
|
|
|
buildInputs = [ opencv qtbase qtsvg ];
|
|
|
|
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;
|
|
};
|
|
}
|