summary refs log tree commit diff
path: root/pkgs/development/guile-modules/guile-opengl/default.nix
blob: 437af0f4edf231444d4610257d513765f4c62325 (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
{ lib
, stdenv
, fetchurl
, guile
, pkg-config
}:

stdenv.mkDerivation rec {
  pname = "guile-opengl";
  version = "0.1.0";

  src = fetchurl {
    url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
    hash = "sha256-NdK5UwUszX5B0kKbynG8oD2PCKIGpZ1x91ktBDvpDo8=";
  };

  nativeBuildInputs = [
    pkg-config
    guile
  ];

  meta = with lib; {
    homepage = "https://www.gnu.org/software/guile-opengl/";
    description = "Guile bindings for the OpenGL graphics API";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ vyp ];
    platforms = platforms.unix;
  };
}