mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #126790 from IvarWithoutBones/init/cglm
cglm: init at 0.8.3
This commit is contained in:
commit
092d040728
27
pkgs/development/libraries/cglm/default.nix
Normal file
27
pkgs/development/libraries/cglm/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cglm";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "recp";
|
||||
repo = "cglm";
|
||||
rev = "v${version}";
|
||||
sha256 = "0crzkxan3kivyah225md5c65zglg5c1cgrsmwhvp51hmrpmxss5v";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/recp/cglm";
|
||||
description = "Highly Optimized Graphics Math (glm) for C";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.ivar ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -3553,6 +3553,8 @@ in
|
||||
|
||||
cfdg = callPackage ../tools/graphics/cfdg { };
|
||||
|
||||
cglm = callPackage ../development/libraries/cglm { };
|
||||
|
||||
cgreen = callPackage ../development/libraries/cgreen { };
|
||||
|
||||
checkinstall = callPackage ../tools/package-management/checkinstall { };
|
||||
|
Loading…
Reference in New Issue
Block a user