mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
28 lines
548 B
Nix
28 lines
548 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cglm";
|
|
version = "0.8.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "recp";
|
|
repo = "cglm";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-AJK1M6iyYdL61pZQhbUWzf+YOUE5FEvUyKqxbQqc7H0=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|