lol

vmmlib: init at 1.6.2

vmmlib is a vector and matrix C++ library

+54
+41
pkgs/development/libraries/vmmlib/default.nix
··· 1 + { stdenv, fetchFromGitHub, cmake, pkgconfig, boost, blas }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.6.2"; 5 + name = "vmmlib-${version}"; 6 + buildInputs = [ stdenv pkgconfig cmake boost blas ]; 7 + 8 + src = fetchFromGitHub { 9 + owner = "VMML"; 10 + repo = "vmmlib"; 11 + rev = "release-${version}"; 12 + sha256 = "0sn6jl1r5k6ka0vkjsdnn14hb95dqq8158dapby6jk72wqj9kdml"; 13 + }; 14 + 15 + patches = [ 16 + ./disable-cpack.patch #disable the need of cpack/rpm 17 + ]; 18 + 19 + enableParallelBuilding = true; 20 + 21 + doCheck = true; 22 + 23 + checkTarget = "test"; 24 + 25 + meta = with stdenv.lib; { 26 + description = "A vector and matrix math library implemented using C++ templates"; 27 + 28 + longDescription = ''vmmlib is a vector and matrix math library implemented 29 + using C++ templates. Its basic functionality includes a vector 30 + and a matrix class, with additional functionality for the 31 + often-used 3d and 4d vectors and 3x3 and 4x4 matrices. 32 + More advanced functionality include solvers, frustum 33 + computations and frustum culling classes, and spatial data structures''; 34 + 35 + license = licenses.bsd2; 36 + homepage = http://github.com/VMML/vmmlib/; 37 + maintainers = [ maintainers.adev ]; 38 + platforms = platforms.all; 39 + }; 40 + } 41 +
+11
pkgs/development/libraries/vmmlib/disable-cpack.patch
··· 1 + diff -ur a/CMakeLists.txt b/CMakeLists.txt 2 + --- a/CMakeLists.txt 1970-01-01 00:00:01.000000000 +0000 3 + +++ b/CMakeLists.txt 2016-02-19 08:49:30.053759000 +0000 4 + @@ -178,6 +178,5 @@ 5 + install(FILES ${DOCS} DESTINATION share/vmmlib COMPONENT dev) 6 + 7 + include(DoxygenRule) # must be after all targets 8 + -include(CPackConfig) 9 + include(CTest) 10 + -include(PackageConfig) 11 + +
+2
pkgs/top-level/all-packages.nix
··· 6508 6508 eigen = callPackage ../development/libraries/eigen {}; 6509 6509 6510 6510 eigen2 = callPackage ../development/libraries/eigen/2.0.nix {}; 6511 + 6512 + vmmlib = callPackage ../development/libraries/vmmlib {}; 6511 6513 6512 6514 enchant = callPackage ../development/libraries/enchant { }; 6513 6515