nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 cmake,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "openmesh";
10 version = "11.0.0";
11
12 src = fetchFromGitLab {
13 domain = "gitlab.vci.rwth-aachen.de:9000";
14 owner = "OpenMesh";
15 repo = "OpenMesh";
16 rev = "OpenMesh-${lib.versions.majorMinor finalAttrs.version}";
17 fetchSubmodules = true;
18 hash = "sha256-1FmAieCaskKaaAWjgEXr/CWpFxrhB2Rca1sXpxLrQHw=";
19 };
20
21 nativeBuildInputs = [ cmake ];
22
23 meta = {
24 homepage = "https://www.graphics.rwth-aachen.de/software/openmesh/";
25 description = "Generic and efficient polygon mesh data structure";
26 maintainers = with lib.maintainers; [ yzx9 ];
27 platforms = lib.platforms.all;
28 license = lib.licenses.bsd3;
29 };
30})