diff --git a/pkgs/development/libraries/openbr/default.nix b/pkgs/development/libraries/openbr/default.nix new file mode 100644 index 000000000000..292db910318b --- /dev/null +++ b/pkgs/development/libraries/openbr/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchgit, cmake, opencv, qt5 }: + +stdenv.mkDerivation rec { + + version = "0.5"; + name = "openbr-${version}"; + + src = fetchgit { + url = "https://github.com/biometrics/openbr.git"; + rev = "cc364a89a86698cd8d3052f42a3cb520c929b325"; + sha256 = "16b3mmsf9r1yqqaw89fx0c3bgfg86dz4phry89wqy2hw05szgda3"; + }; + + buildInputs = [ opencv qt5 ]; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f961c21ec1f6..4d674fea3754 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6652,6 +6652,8 @@ let openbabel = callPackage ../development/libraries/openbabel { }; + openbr = callPackage ../development/libraries/openbr { }; + opencascade = callPackage ../development/libraries/opencascade { }; opencascade_6_5 = callPackage ../development/libraries/opencascade/6.5.nix {