about summary refs log tree commit diff
path: root/pkgs/by-name/op/openmesh/package.nix
blob: c391517d604412c25fd7c2605a31b1f2d9c56335 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  stdenv,
  fetchFromGitLab,
  cmake,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "openmesh";
  version = "11.0.0";

  src = fetchFromGitLab {
    domain = "gitlab.vci.rwth-aachen.de:9000";
    owner = "OpenMesh";
    repo = "OpenMesh";
    rev = "OpenMesh-${lib.versions.majorMinor finalAttrs.version}";
    fetchSubmodules = true;
    sha256 = "sha256-1FmAieCaskKaaAWjgEXr/CWpFxrhB2Rca1sXpxLrQHw=";
  };

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
    homepage = "https://www.graphics.rwth-aachen.de/software/openmesh/";
    description = "Generic and efficient polygon mesh data structure";
    maintainers = with maintainers; [ yzx9 ];
    platforms = platforms.all;
    license = licenses.bsd3;
  };
})