3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/cglm/default.nix

28 lines
548 B
Nix
Raw Normal View History

2021-06-13 22:10:23 +01:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "cglm";
2021-08-20 22:26:48 +01:00
version = "0.8.4";
2021-06-13 22:10:23 +01:00
src = fetchFromGitHub {
owner = "recp";
repo = "cglm";
rev = "v${version}";
2021-08-20 22:26:48 +01:00
sha256 = "sha256-AJK1M6iyYdL61pZQhbUWzf+YOUE5FEvUyKqxbQqc7H0=";
2021-06-13 22:10:23 +01:00
};
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;
};
}