summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/ge/gem/package.nix
blob: b45aec1b6187ceb90f1a0c0e7de04ca0625728ea (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
  lib,
  stdenv,
  fetchFromGitHub,
  autoreconfHook,
  pkg-config,
  puredata,
  libGL,
  libGLU,
  glew,
  libglut,
  libv4l,
  libx11,
  file,
}:

stdenv.mkDerivation {
  pname = "gem-unstable";
  version = "2023-07-28";

  src = fetchFromGitHub {

    owner = "umlaeute";
    repo = "Gem";
    rev = "4ec12eef8716822c68f7c02a5a94668d2427037d";
    hash = "sha256-Y/Z7oJdKGd7+aSk8eAN9qu4ss+BOvzaXWpWGjfJqGJ8=";
  };

  nativeBuildInputs = [
    autoreconfHook
    file
    pkg-config
  ];

  buildInputs = [
    puredata
    libGL
    libGLU
    glew
    libglut
    libv4l
    libx11
  ];

  meta = {
    description = "Graphics Environment for Multimedia";
    homepage = "http://puredata.info/downloads/gem";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [
      raboof
      carlthome
    ];
    platforms = lib.platforms.linux;
  };
}