push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
diff -ur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 1970-01-01 00:00:01.000000000 +0000
+++ b/CMakeLists.txt 2016-02-19 08:49:30.053759000 +0000
@@ -178,6 +178,5 @@
install(FILES ${DOCS} DESTINATION share/vmmlib COMPONENT dev)
include(DoxygenRule) # must be after all targets
-include(CPackConfig)
include(CTest)
-include(PackageConfig)
+

View File

@@ -0,0 +1,57 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
boost,
lapack,
}:
stdenv.mkDerivation rec {
version = "1.6.2";
pname = "vmmlib";
src = fetchFromGitHub {
owner = "VMML";
repo = "vmmlib";
rev = "release-${version}";
sha256 = "0sn6jl1r5k6ka0vkjsdnn14hb95dqq8158dapby6jk72wqj9kdml";
};
patches = [
./disable-cpack.patch # disable the need of cpack/rpm
];
nativeBuildInputs = [
pkg-config
cmake
];
buildInputs = [
boost
lapack
];
doCheck = !stdenv.hostPlatform.isDarwin;
checkTarget = "test";
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
description = "Vector and matrix math library implemented using C++ templates";
longDescription = ''
vmmlib is a vector and matrix math library implemented
using C++ templates. Its basic functionality includes a vector
and a matrix class, with additional functionality for the
often-used 3d and 4d vectors and 3x3 and 4x4 matrices.
More advanced functionality include solvers, frustum
computations and frustum culling classes, and spatial data structures
'';
license = licenses.bsd2;
homepage = "https://github.com/VMML/vmmlib/";
maintainers = [ maintainers.adev ];
platforms = platforms.all;
};
}