1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/development/libraries/glbinding/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 lines
609 B
Nix

{ stdenv, fetchFromGitHub, cmake, libGLU, xlibsWrapper }:
stdenv.mkDerivation rec {
pname = "glbinding";
version = "3.1.0";
src = fetchFromGitHub {
owner = "cginternals";
repo = pname;
rev = "v${version}";
sha256 = "1avd7ssms11xx7h0cm8h4pfpk55f07f1j1ybykxfgsym2chb2z08";
};
buildInputs = [ cmake libGLU xlibsWrapper ];
meta = with stdenv.lib; {
homepage = https://github.com/cginternals/glbinding/;
description = "A C++ binding for the OpenGL API, generated using the gl.xml specification";
license = licenses.mit;
maintainers = [ maintainers.mt-caret ];
};
}