nixpkgs/pkgs/development/libraries/cglm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
548 B
Nix
Raw Normal View History

2021-06-13 21:10:23 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "cglm";
2022-03-21 02:32:52 +00:00
version = "0.8.5";
2021-06-13 21:10:23 +00:00
src = fetchFromGitHub {
owner = "recp";
repo = "cglm";
rev = "v${version}";
2022-03-21 02:32:52 +00:00
sha256 = "sha256-PJHDZXc0DD/d+K/4uouv5F8gAf1sE5e3jLkGILPMpnI=";
2021-06-13 21:10:23 +00: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;
};
}