depot/third_party/nixpkgs/pkgs/development/guile-modules/guile-opengl/default.nix

30 lines
596 B
Nix
Raw Normal View History

{ 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;
};
}