level-zero: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-03-15 09:29:15 +01:00 committed by GitHub
parent f8df93c62a
commit 46ef9d5cf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,9 @@
{ lib, stdenv, fetchFromGitHub, addOpenGLRunpath, cmake }: { lib
, stdenv
, fetchFromGitHub
, addOpenGLRunpath
, cmake
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "level-zero"; pname = "level-zero";
@ -7,8 +12,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "oneapi-src"; owner = "oneapi-src";
repo = "level-zero"; repo = "level-zero";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-zzlecBk7Mi3Nhj4eIAp81pq7+lIiKpvEaNeXuJKDPII="; hash = "sha256-zzlecBk7Mi3Nhj4eIAp81pq7+lIiKpvEaNeXuJKDPII=";
}; };
nativeBuildInputs = [ cmake addOpenGLRunpath ]; nativeBuildInputs = [ cmake addOpenGLRunpath ];
@ -20,6 +25,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "oneAPI Level Zero Specification Headers and Loader"; description = "oneAPI Level Zero Specification Headers and Loader";
homepage = "https://github.com/oneapi-src/level-zero"; homepage = "https://github.com/oneapi-src/level-zero";
changelog = "https://github.com/oneapi-src/level-zero/blob/v${version}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.ziguana ]; maintainers = [ maintainers.ziguana ];
}; };