diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/cglm')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/cglm/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/libraries/cglm/default.nix b/nixpkgs/pkgs/development/libraries/cglm/default.nix index 50a9bf62c54b..44d86c7b5f97 100644 --- a/nixpkgs/pkgs/development/libraries/cglm/default.nix +++ b/nixpkgs/pkgs/development/libraries/cglm/default.nix @@ -6,17 +6,23 @@ stdenv.mkDerivation rec { pname = "cglm"; - version = "0.8.5"; + version = "0.9.0"; src = fetchFromGitHub { owner = "recp"; repo = "cglm"; rev = "v${version}"; - sha256 = "sha256-PJHDZXc0DD/d+K/4uouv5F8gAf1sE5e3jLkGILPMpnI="; + sha256 = "sha256-V6qX6f1pETjDHVu+VJXRDcKKiCBYuQnh8Bz48HRyRR8="; }; nativeBuildInputs = [ cmake ]; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace '\$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \ + --replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR} + ''; + meta = with lib; { homepage = "https://github.com/recp/cglm"; description = "Highly Optimized Graphics Math (glm) for C"; |