Merge pull request #293265 from loco-choco/opengv-init

opengv: init at 0-unstable-2020-08-06

authored by Pol Dellaiera and committed by GitHub 6ae71359 3668a9ff

+45
+45
pkgs/by-name/op/opengv/package.nix
···
··· 1 + { lib 2 + , stdenv 3 + , eigen 4 + , fetchFromGitHub 5 + , cmake 6 + }: 7 + stdenv.mkDerivation (finalAttrs: { 8 + pname = "opengv"; 9 + version = "0-unstable-2020-08-06"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "laurentkneip"; 13 + repo = "opengv"; 14 + rev = "91f4b19c73450833a40e463ad3648aae80b3a7f3"; 15 + hash = "sha256-LfnylJ9NCHlqjT76Tgku4NwxULJ+WDAcJQ2lDKGWSI4="; 16 + }; 17 + 18 + nativeBuildInputs = [ 19 + cmake 20 + ]; 21 + 22 + buildInputs = [ 23 + eigen 24 + ]; 25 + 26 + cmakeFlakes = [ 27 + (lib.cmakeFeature "CMAKE_BUILD_TYPE" "Release") 28 + ]; 29 + 30 + meta = { 31 + description = "A collection of computer vision methods for solving geometric vision problems"; 32 + homepage = "https://github.com/laurentkneip/opengv"; 33 + license = lib.licenses.bsd2; 34 + longDescription = ''OpenGV is a collection of computer vision methods for solving 35 + geometric vision problems. It contains absolute-pose, relative-pose, 36 + triangulation, and point-cloud alignment methods for the calibrated 37 + case. All problems can be solved with central or non-central cameras, 38 + and embedded into a random sample consensus or nonlinear optimization 39 + context. Matlab and Python interfaces are implemented as well. The link 40 + to the above pages also shows links to precompiled Matlab mex-libraries. 41 + Please consult the documentation for more information.''; 42 + maintainers = [ lib.maintainers.locochoco ]; 43 + platforms = lib.platforms.all; 44 + }; 45 + })