diff --git a/pkgs/by-name/gl/glm/1_0_1.nix b/pkgs/by-name/gl/glm/1_0_1.nix index 68ecba82fa53..a982e1a626e6 100644 --- a/pkgs/by-name/gl/glm/1_0_1.nix +++ b/pkgs/by-name/gl/glm/1_0_1.nix @@ -9,7 +9,7 @@ callPackage ./generic.nix rec { src = fetchFromGitHub { owner = "g-truc"; repo = "glm"; - rev = version; - sha256 = "sha256-GnGyzNRpzuguc3yYbEFtYLvG+KiCtRAktiN+NvbOICE="; + tag = version; + hash = "sha256-GnGyzNRpzuguc3yYbEFtYLvG+KiCtRAktiN+NvbOICE="; }; } diff --git a/pkgs/by-name/gl/glm/generic.nix b/pkgs/by-name/gl/glm/generic.nix index 376706d0028b..5f7cccee6697 100644 --- a/pkgs/by-name/gl/glm/generic.nix +++ b/pkgs/by-name/gl/glm/generic.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { ''; meta = { + changelog = "https://github.com/g-truc/glm/releases/tag/${src.tag}"; description = "OpenGL Mathematics library for C++"; longDescription = '' OpenGL Mathematics (GLM) is a header only C++ mathematics library for diff --git a/pkgs/by-name/gl/glm/package.nix b/pkgs/by-name/gl/glm/package.nix index 298ad577aa2e..dd8d9779f7e3 100644 --- a/pkgs/by-name/gl/glm/package.nix +++ b/pkgs/by-name/gl/glm/package.nix @@ -9,7 +9,7 @@ callPackage ./generic.nix rec { src = fetchFromGitHub { owner = "g-truc"; repo = "glm"; - rev = version; - sha256 = "sha256-2xKv1nO+OdwA0r+I9OZ+OCL9dJFg/LJsQfIvIF76vc0="; + tag = version; + hash = "sha256-6WnVvFiTe1/OYj/oTGpCjZKNFurR9MxJ4zf0nDg0Alk="; }; }