pkgs/development/libraries: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchzip, cmake }:
{ lib, stdenv, fetchurl, fetchzip, cmake }:
stdenv.mkDerivation rec {
version = "0.9.8.5";
@@ -27,14 +27,14 @@ stdenv.mkDerivation rec {
cp ${gcc7PlatformPatch} glm/simd/platform.h
'';
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-DGLM_COMPILER=0";
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-DGLM_COMPILER=0";
postInstall = ''
mkdir -p $doc/share/doc/glm
cp -rv $NIX_BUILD_TOP/$sourceRoot/doc/* $doc/share/doc/glm
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "OpenGL Mathematics library for C++";
longDescription = ''
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
homepage = "http://glm.g-truc.net/";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with stdenv.lib.maintainers; [ ];
maintainers = with lib.maintainers; [ ];
};
}